CSS Named Color

Copy-ready color values

HEX#00008B
RGBrgb(0, 0, 139)
HSLhsl(240, 100%, 27%)
HSVhsv(240, 100%, 55%)
CMYK approx.cmyk(100, 100, 0, 45)

Color value table

FormatValueCopy
HEX#00008B
RGBrgb(0, 0, 139)
HSLhsl(240, 100%, 27%)
HSVhsv(240, 100%, 55%)
CMYK approx.cmyk(100, 100, 0, 45)
CSS keyworddarkblue

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
#FFFF95

Analogous

#00007A
#00117A

Triadic

#008B00
#8B0000

Split complementary

#FFFF8D
#D1D15F

Using 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"