Skip to the color picker

#1f387b color: Surf the Web

#1f387b is rgb(31, 56, 123) in RGB and oklch(36.255% 0.11829 265.431) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

224°
100%

36.3%
0.118
265°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • blue-900
  • Black 52%

Inside sRGB: displays the same on any screen.

White text
11.00: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 #1f387b

#1f387b is a soft dark blue color. In OKLCH it has 36.3% lightness, 0.118 chroma and a hue of 265°.

Inside sRGB: displays the same on any screen.

White text on it reaches 11: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: #1f387b mixed with white

Darker: #1f387b mixed with black

Calmer: #1f387b with less saturation

Similar named colors

Colors that go with #1f387b

Complementary
Analogous
Triadic
Split

Questions about #1f387b

What color is #1f387b?

#1f387b is soft dark blue. The closest named color is Surf the Web. In RGB it is rgb(31, 56, 123), in HSL hsl(223.7, 59.74%, 30.2%) and in OKLCH oklch(36.255% 0.11829 265.431).

What colors go well with #1f387b?

The complementary color of #1f387b is #543800. For a calmer combination use the analogous colors #00446b and #442c74. The triadic partners are #6f1b1a and #004d0d.

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

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

Is #1f387b a warm or cool color?

#1f387b is a cool color. In OKLCH its hue is 265 degrees, its lightness 36.3% and its chroma 0.118.