Skip to the color picker

#0c163e color: Navy

#0c163e is rgb(12, 22, 62) in RGB and oklch(21.999% 0.07774 268.569) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

228°
100%

22%
0.078
269°
  • Blue
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 76%

Inside sRGB: displays the same on any screen.

White text
17.50:1Readable · AA
Lc -106
Black text
1.20: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 #0c163e

#0c163e is a soft very dark blue color. In OKLCH it has 22% lightness, 0.078 chroma and a hue of 269°.

Inside sRGB: displays the same on any screen.

White text on it reaches 17.5:1 contrast and black text 1.2: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: #0c163e mixed with white

Darker: #0c163e mixed with black

  1. 000000

Calmer: #0c163e with less saturation

Similar named colors

Colors that go with #0c163e

Complementary
Analogous
Triadic
Split

Questions about #0c163e

What color is #0c163e?

#0c163e is soft very dark blue. The closest named color is Navy. In RGB it is rgb(12, 22, 62), in HSL hsl(228, 67.57%, 14.51%) and in OKLCH oklch(21.999% 0.07774 268.569).

What colors go well with #0c163e?

The complementary color of #0c163e is #261800. For a calmer combination use the analogous colors #001d39 and #200f39. The triadic partners are #370604 and #002303.

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

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

Is #0c163e a warm or cool color?

#0c163e is a cool color. In OKLCH its hue is 269 degrees, its lightness 22% and its chroma 0.078.