Skip to the color picker

#1f3978 color: Surf the Web

#1f3978 is rgb(31, 57, 120) in RGB and oklch(36.239% 0.11248 264.549) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

222°
100%

36.2%
0.112
265°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • blue-900
  • Black 53%

Inside sRGB: displays the same on any screen.

White text
10.97:1Readable · AA
Lc -99
Black text
1.91:1Hard to read
Lc 9

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Recent

Colors you stop on or copy appear here. They stay on this device.

About #1f3978

#1f3978 is a soft dark blue color. In OKLCH it has 36.2% lightness, 0.112 chroma and a hue of 265°.

Inside sRGB: displays the same on any screen.

White text on it reaches 10.97:1 contrast and black text 1.91:1, so white text reads better.

The closest named color is Surf the Web (#20377f). In Tailwind CSS the closest color is blue-900.

More dark blue colors

Lighter: #1f3978 mixed with white

Darker: #1f3978 mixed with black

Calmer: #1f3978 with less saturation

Similar named colors

Colors that go with #1f3978

Complementary
Analogous
Triadic
Split

Questions about #1f3978

What color is #1f3978?

#1f3978 is soft dark blue. The closest named color is Surf the Web. In RGB it is rgb(31, 57, 120), in HSL hsl(222.47, 58.94%, 29.61%) and in OKLCH oklch(36.239% 0.11248 264.549).

What colors go well with #1f3978?

The complementary color of #1f3978 is #543800. For a calmer combination use the analogous colors #00446a and #432e72. The triadic partners are #6d1d1e and #044c0f.

Is white or black text more readable on #1f3978?

White text reads better on #1f3978: white gives a contrast ratio of 10.97:1 and black gives 1.91:1. WCAG AA asks for at least 4.5:1 for body text.

Is #1f3978 a warm or cool color?

#1f3978 is a cool color. In OKLCH its hue is 265 degrees, its lightness 36.2% and its chroma 0.112.