Skip to the color picker

#0a1238 color: Infinite Night

#0a1238 is rgb(10, 18, 56) in RGB and oklch(20.324% 0.07455 269.526) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

230°
100%

20.3%
0.075
270°
  • Blue
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 78%

Inside sRGB: displays the same on any screen.

White text
18.16:1Readable · AA
Lc -107
Black text
1.16: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 #0a1238

#0a1238 is a soft very dark blue color. In OKLCH it has 20.3% lightness, 0.075 chroma and a hue of 270°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Infinite Night (#071037). In Tailwind CSS the closest color is slate-900.

More very dark blue colors

Lighter: #0a1238 mixed with white

Darker: #0a1238 mixed with black

  1. 000000

Calmer: #0a1238 with less saturation

Similar named colors

Colors that go with #0a1238

Complementary
Analogous
Triadic
Split

Questions about #0a1238

What color is #0a1238?

#0a1238 is soft very dark blue. The closest named color is Infinite Night. In RGB it is rgb(10, 18, 56), in HSL hsl(229.57, 69.7%, 12.94%) and in OKLCH oklch(20.324% 0.07455 269.526).

What colors go well with #0a1238?

The complementary color of #0a1238 is #211400. For a calmer combination use the analogous colors #001934 and #1c0b33. The triadic partners are #310302 and #001f02.

Is white or black text more readable on #0a1238?

White text reads better on #0a1238: white gives a contrast ratio of 18.16:1 and black gives 1.16:1. WCAG AA asks for at least 4.5:1 for body text.

Is #0a1238 a warm or cool color?

#0a1238 is a cool color. In OKLCH its hue is 270 degrees, its lightness 20.3% and its chroma 0.075.