Skip to main content

#1F2041 Deep Navy

#1F2041 is Deep Navy.

#1F2041

Deep Navy

What are the RGB, HSL, OKLCH and CMYK values of #1F2041?

HEX
#1F2041
RGB
rgb(31, 32, 65)
HSL
hsl(238, 35%, 19%)
OKLCH
oklch(26.1% 0.061 280)
CMYK
52, 51, 0, 75

#1F2041 has a contrast ratio of 15.66:1 against white and 1.34: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 → #1F2041
#1F2041
Same color
White
15.7AAA
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 #1F2041 · 15.7:1

Tints and shades of #1F2041

Same hue and chroma in OKLCH, lighter to darker.

  1. #F3F4FF
  2. #CDD2FE
  3. #AEB3DE
  4. #9195BE
  5. #7478A0
  6. #595C82
  7. #3F4266
  8. #1F2041
  9. #121131

Colors that go with #1F2041

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. Twilight Purple, #432C5D and Navy Blue, #1E2F3E; Twilight Purple, #432C5D and Deep Teal, #1E3E3D become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --deep-navy-1: #1F2041; /* Deep Navy */
}

Palettes, gradients and meshes with #1F2041

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

Palettes (69)

Gradients (7)

Mesh gradients (7)