Skip to the color picker

#1f2852 color: Space Cadet

#1f2852 is rgb(31, 40, 82) in RGB and oklch(29.314% 0.07693 271.796) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

229°
100%

29.3%
0.077
272°
  • Indigo
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • blue-950
  • Black 68%

Inside sRGB: displays the same on any screen.

White text
14.15:1Readable · AA
Lc -104
Black text
1.48:1Hard to read
Lc 0

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

#1f2852 is a soft very dark indigo color. In OKLCH it has 29.3% lightness, 0.077 chroma and a hue of 272°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Space Cadet (#1d2951). In Tailwind CSS the closest color is blue-950.

More very dark indigo colors

Lighter: #1f2852 mixed with white

Darker: #1f2852 mixed with black

  1. 000000

Calmer: #1f2852 with less saturation

Similar named colors

Colors that go with #1f2852

Complementary
Analogous
Triadic
Split

Questions about #1f2852

What color is #1f2852?

#1f2852 is soft very dark indigo. The closest named color is Space Cadet. In RGB it is rgb(31, 40, 82), in HSL hsl(229.41, 45.13%, 22.16%) and in OKLCH oklch(29.314% 0.07693 271.796).

What colors go well with #1f2852?

The complementary color of #1f2852 is #3a2a00. For a calmer combination use the analogous colors #002f4f and #33214c. The triadic partners are #4b1a12 and #013617.

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

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

Is #1f2852 a warm or cool color?

#1f2852 is a cool color. In OKLCH its hue is 272 degrees, its lightness 29.3% and its chroma 0.077.