Skip to the color picker

#1f3c7e color: Surf the Web

#1f3c7e is rgb(31, 60, 126) in RGB and oklch(37.395% 0.11739 263.803) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

222°
100%

37.4%
0.117
264°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 51%

Inside sRGB: displays the same on any screen.

White text
10.47:1Readable · AA
Lc -98
Black text
2.01:1Hard to read
Lc 10

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 #1f3c7e

#1f3c7e is a soft dark blue color. In OKLCH it has 37.4% lightness, 0.117 chroma and a hue of 264°.

Inside sRGB: displays the same on any screen.

White text on it reaches 10.47:1 contrast and black text 2.01: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: #1f3c7e mixed with white

Darker: #1f3c7e mixed with black

Calmer: #1f3c7e with less saturation

Similar named colors

Colors that go with #1f3c7e

Complementary
Analogous
Triadic
Split

Questions about #1f3c7e

What color is #1f3c7e?

#1f3c7e is soft dark blue. The closest named color is Surf the Web. In RGB it is rgb(31, 60, 126), in HSL hsl(221.68, 60.51%, 30.78%) and in OKLCH oklch(37.395% 0.11739 263.803).

What colors go well with #1f3c7e?

The complementary color of #1f3c7e is #583b00. For a calmer combination use the analogous colors #00486e and #463078. The triadic partners are #721e20 and #064f0e.

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

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

Is #1f3c7e a warm or cool color?

#1f3c7e is a cool color. In OKLCH its hue is 264 degrees, its lightness 37.4% and its chroma 0.117.