Skip to main content

#0D0B1E Dark Navy

The nearest named color to #0D0B1E is Dark Navy (#0F172A).

#0D0B1E

Dark Navy

What are the RGB, HSL, OKLCH and CMYK values of #0D0B1E?

HEX
#0D0B1E
RGB
rgb(13, 11, 30)
HSL
hsl(246, 46%, 8%)
OKLCH
oklch(16.4% 0.039 286)
CMYK
57, 63, 0, 88

#0D0B1E has a contrast ratio of 19.38:1 against white and 1.08: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 → #0D0B1E
#0D0B1E
Same color
White
19.4AAA
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 #0D0B1E · 19.4:1

Tints and shades of #0D0B1E

Same hue and chroma in OKLCH, lighter to darker.

  1. #F4F4FF
  2. #D3D2EF
  3. #B4B3CF
  4. #9696B0
  5. #797992
  6. #5E5D76
  7. #44435A
  8. #2B2A40
  9. #0D0B1E

Colors that go with #0D0B1E

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. Navy Blue, #192943 and Byzantium, #5A2154; Byzantium, #5A2154 and Deep Teal, #193F43 become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --dark-navy-1: #0D0B1E; /* Dark Navy */
}

Palettes, gradients and meshes with #0D0B1E

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

Palettes (34)

Gradients (5)

Mesh gradients (5)