Skip to main content

#00008B Dark Blue

#00008B is Dark Blue.

#00008B

Dark Blue

What are the RGB, HSL, OKLCH and CMYK values of #00008B?

HEX
#00008B
RGB
rgb(0, 0, 139)
HSL
hsl(240, 100%, 27%)
OKLCH
oklch(28.8% 0.199 264)
CMYK
100, 100, 0, 45

#00008B has a contrast ratio of 15.30:1 against white and 1.37:1 against black, so white is the better background for text in this color and light text reads best on it.

Contrast checker

Text color (rows) on background (columns), scored against WCAG 2.2. White and near-black text on this color.

WCAG contrast ratio for each text and background color combination
Text ↓ / Bg → #00008B
#00008B
Same color
White
15.3AAA
Near-black
1.1Fail

AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only

Text that works on each color

  • White on #00008B · 15.3:1

Tints and shades of #00008B

Same hue and chroma in OKLCH, lighter to darker.

  1. #F0F5FF
  2. #C1D6FF
  3. #92B6FF
  4. #6394FF
  5. #3C71F0
  6. #2252CF
  7. #0832AE
  8. #00008B
  9. #000053

Colors that go with #00008B

Six harmony rules built from this color. Open any in the Studio.

Color blindness check

About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.

Typical
Deuteranopia

No green cones — the most common form. Dark Blue, #00008B and Prussian Blue, #003162 become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --dark-blue-1: #00008B; /* Dark Blue */
}

Palettes, gradients and meshes with #00008B

Items using this color or one perceptually close to it, closest first.

Nothing on Tinta uses #00008B yet. Build a palette from it in the Studio.