Skip to the color picker

#0c2e4c color: Midnight Ocean

#0c2e4c is rgb(12, 46, 76) in RGB and oklch(29.397% 0.06704 248.947) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

208°
100%

29.4%
0.067
249°
  • Blue
  • Very dark
  • Soft
  • Cool
  • ≈ Graphite
  • sky-950
  • Black 70%

Inside sRGB: displays the same on any screen.

White text
13.90:1Readable · AA
Lc -103
Black text
1.51: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 #0c2e4c

#0c2e4c is a soft very dark blue color. In OKLCH it has 29.4% lightness, 0.067 chroma and a hue of 249°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Midnight Ocean (#0f2d4d). In Tailwind CSS the closest color is sky-950.

More very dark blue colors

Lighter: #0c2e4c mixed with white

Darker: #0c2e4c mixed with black

  1. 000000

Calmer: #0c2e4c with less saturation

Similar named colors

Colors that go with #0c2e4c

Complementary
Analogous
Triadic
Split

Questions about #0c2e4c

What color is #0c2e4c?

#0c2e4c is soft very dark blue. The closest named color is Midnight Ocean. In RGB it is rgb(12, 46, 76), in HSL hsl(208.13, 72.73%, 17.25%) and in OKLCH oklch(29.397% 0.06704 248.947).

What colors go well with #0c2e4c?

The complementary color of #0c2e4c is #412500. For a calmer combination use the analogous colors #003343 and #26284d. The triadic partners are #471c25 and #223209.

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

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

Is #0c2e4c a warm or cool color?

#0c2e4c is a cool color. In OKLCH its hue is 249 degrees, its lightness 29.4% and its chroma 0.067.