DarkBlue

All colors
CSS named colorPurple · dark · vivid
browser standard

#00008B

Dark Blue

Best set with white text. The pairing reaches 15.30:1 contrast and passes AAA for normal text.

Color values

copy exact values
HEX#00008BsRGB hexadecimal
RGBrgb(0, 0, 139)screen channels
HSLhsl(240, 100%, 27%)hue, saturation, lightness
CMYKcmyk(100%, 100%, 0%, 45%)approximate process color
Tailwindviolet-900nearest palette utility, not an exact token

Foreground contrast

WCAG ratios
White textAAA15.30:1
Black textfails AA1.37:1

Recommendation

Use white text for the stronger built-in pairing. AA requires 4.5:1 for normal text; AAA requires 7:1.

Palette relationships

generated in color space
Tonal ramp
#050505
#170B31
#18095C
#00008B
#7153B1
#B7A4D6
#FAFAFA
Analogous
#00458B
#00008B
#45008B
Triadic
#00008B
#8B0000
#008B00
Complement
#00008B
#8B8B00

Nearest named neighbors

Lab distance · lower is closer

CSS output

:root {
  --color-dark-blue: #00008B;
}

.swatch {
  background: var(--color-dark-blue);
  color: #FFFFFF;
}
Hue306°
Lightness15 L*
Chroma85.2
Luminance0.019