Skip to main content

#1F3557 Prussian Blue

The nearest named color to #1F3557 is Prussian Blue (#003153).

#1F3557

Prussian Blue

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

HEX
#1F3557
RGB
rgb(31, 53, 87)
HSL
hsl(216, 47%, 23%)
OKLCH
oklch(32.9% 0.067 259)
CMYK
64, 39, 0, 66

#1F3557 has a contrast ratio of 12.32:1 against white and 1.71: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 → #1F3557
#1F3557
Same color
White
12.3AAA
Near-black
1.4Fail

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 #1F3557 · 12.3:1

Tints and shades of #1F3557

Same hue and chroma in OKLCH, lighter to darker.

  1. #EFF6FF
  2. #BDD7FF
  3. #9DB8E2
  4. #809AC2
  5. #647DA4
  6. #496186
  7. #2F4669
  8. #1F3557
  9. #021434

Colors that go with #1F3557

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. No two swatches become hard to tell apart here.

Export

Copy-paste code, or download the swatches.

:root {
  --prussian-blue-1: #1F3557; /* Prussian Blue */
}

Palettes, gradients and meshes with #1F3557

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

Palettes (59)

Gradients (7)

Mesh gradients (8)