CSS Named Color
Copy-ready color values
HEX
#00008BRGB
rgb(0, 0, 139)HSL
hsl(240, 100%, 27%)HSV
hsv(240, 100%, 55%)CMYK approx.
cmyk(100, 100, 0, 45)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #00008B | |
| RGB | rgb(0, 0, 139) | |
| HSL | hsl(240, 100%, 27%) | |
| HSV | hsv(240, 100%, 55%) | |
| CMYK approx. | cmyk(100, 100, 0, 45) | |
| CSS keyword | darkblue |
Contrast and classification
DarkLightness15.30:1Contrast with white1.37:1Contrast with blackBlue / CyanColor family
Shade and tint preview
White 10%#1A1A97
White 30%#4D4DAE
White 70%#B3B3DC
White 90%#E6E6F3
Black 10%#00007D
Black 30%#000061
Black 70%#00002A
Black 90%#00000E
Harmony palettes
Complementary
#FFFF74#FFFF95Analogous
#00007A#00117ATriadic
#008B00#8B0000Split complementary
#FFFF8D#D1D15FUsing Darkblue
Darkblue works best when it is chosen with contrast, surrounding colors, and interface state in mind. Use the HEX value for static CSS, RGB when you need channel-level control, and HSL when adjusting lightness or saturation for hover states. The CMYK value is an approximate screen-to-print conversion, so print workflows should still rely on calibrated design software or a printer profile.
CSS, SCSS, and Tailwind examples
:root {
--color-darkblue: #00008b;
}
.button-primary {
background: var(--color-darkblue);
color: #ffffff;
}
$darkblue: #00008b;
// Tailwind arbitrary value
class="bg-[#00008b] text-white"