Skip to the color picker

#1f508a color: Clear Night Sky

#1f508a is rgb(31, 80, 138) in RGB and oklch(42.954% 0.10963 254.697) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

213°
100%

43%
0.110
255°
  • Blue
  • Dark
  • Vivid
  • Deep
  • Cool
  • ≈ Cobalt
  • sky-800
  • Black 46%

Inside sRGB: displays the same on any screen.

White text
8.16:1Readable · AA
Lc -93
Black text
2.57:1Hard to read
Lc 16

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

#1f508a is a deep dark blue color. In OKLCH it has 43% lightness, 0.11 chroma and a hue of 255°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Clear Night Sky (#214f86). In Tailwind CSS the closest color is sky-800.

More dark blue colors

Lighter: #1f508a mixed with white

Darker: #1f508a mixed with black

Calmer: #1f508a with less saturation

Similar named colors

Colors that go with #1f508a

Complementary
Analogous
Triadic
Split

Questions about #1f508a

What color is #1f508a?

#1f508a is deep dark blue. The closest named color is Clear Night Sky. In RGB it is rgb(31, 80, 138), in HSL hsl(212.52, 63.31%, 33.14%) and in OKLCH oklch(42.954% 0.10963 254.697).

What colors go well with #1f508a?

The complementary color of #1f508a is #724400. For a calmer combination use the analogous colors #005a79 and #4a4589. The triadic partners are #81313c and #345c15.

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

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

Is #1f508a a warm or cool color?

#1f508a is a cool color. In OKLCH its hue is 255 degrees, its lightness 43% and its chroma 0.11.