Skip to main content

#0F1B2D Dark Navy

#0F1B2D is Dark Navy.

#0F1B2D

Dark Navy

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

HEX
#0F1B2D
RGB
rgb(15, 27, 45)
HSL
hsl(216, 50%, 12%)
OKLCH
oklch(22.1% 0.039 258)
CMYK
67, 40, 0, 82

#0F1B2D has a contrast ratio of 17.28:1 against white and 1.21: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 → #0F1B2D
#0F1B2D
Same color
White
17.3AAA
Near-black
1.0Fail

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 #0F1B2D · 17.3:1

Tints and shades of #0F1B2D

Same hue and chroma in OKLCH, lighter to darker.

  1. #EFF6FF
  2. #C6D7F0
  3. #A7B8D0
  4. #8A9AB2
  5. #6E7D94
  6. #526177
  7. #39465B
  8. #212D41
  9. #0F1B2D

Colors that go with #0F1B2D

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. Deep Teal, #174045 and Twilight Purple, #4E236A 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: #0F1B2D; /* Dark Navy */
}

Palettes, gradients and meshes with #0F1B2D

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

Palettes (70)

Gradients (6)

Mesh gradients (8)