Skip to the color picker

#031540 color: Navy

#031540 is rgb(3, 21, 64) in RGB and oklch(21.444% 0.08596 262.513) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

222°
100%

21.4%
0.086
263°
  • Blue
  • Very dark
  • Vivid
  • Deep
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 75%

Inside sRGB: displays the same on any screen.

White text
17.72: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 #031540

#031540 is a deep very dark blue color. In OKLCH it has 21.4% lightness, 0.086 chroma and a hue of 263°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Navy (#01153e). In Tailwind CSS the closest color is slate-900.

More very dark blue colors

Lighter: #031540 mixed with white

Darker: #031540 mixed with black

  1. 000000

Calmer: #031540 with less saturation

Similar named colors

Colors that go with #031540

Complementary
Analogous
Triadic
Split

Questions about #031540

What color is #031540?

#031540 is deep very dark blue. The closest named color is Navy. In RGB it is rgb(3, 21, 64), in HSL hsl(222.3, 91.04%, 13.14%) and in OKLCH oklch(21.444% 0.08596 262.513).

What colors go well with #031540?

The complementary color of #031540 is #271500. For a calmer combination use the analogous colors #001d33 and #1c0d3c. The triadic partners are #380005 and #002200.

Is white or black text more readable on #031540?

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

Is #031540 a warm or cool color?

#031540 is a cool color. In OKLCH its hue is 263 degrees, its lightness 21.4% and its chroma 0.086.