Skip to the color picker

#051838 color: Naval Night

#051838 is rgb(5, 24, 56) in RGB and oklch(21.542% 0.06752 259.595) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

218°
100%

21.5%
0.068
260°
  • Blue
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 78%

Inside sRGB: displays the same on any screen.

White text
17.58:1Readable · AA
Lc -106
Black text
1.19: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 #051838

#051838 is a soft very dark blue color. In OKLCH it has 21.5% lightness, 0.068 chroma and a hue of 260°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Naval Night (#011c39). In Tailwind CSS the closest color is slate-900.

More very dark blue colors

Lighter: #051838 mixed with white

Darker: #051838 mixed with black

  1. 000000

Calmer: #051838 with less saturation

Similar named colors

Colors that go with #051838

Complementary
Analogous
Triadic
Split

Questions about #051838

What color is #051838?

#051838 is soft very dark blue. The closest named color is Naval Night. In RGB it is rgb(5, 24, 56), in HSL hsl(217.65, 83.61%, 11.96%) and in OKLCH oklch(21.542% 0.06752 259.595).

What colors go well with #051838?

The complementary color of #051838 is #281500. For a calmer combination use the analogous colors #001e32 and #1a1236. The triadic partners are #32080c and #052000.

Is white or black text more readable on #051838?

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

Is #051838 a warm or cool color?

#051838 is a cool color. In OKLCH its hue is 260 degrees, its lightness 21.5% and its chroma 0.068.