Skip to the color picker

#0c2d4d color: Midnight Ocean

#0c2d4d is rgb(12, 45, 77) in RGB and oklch(29.195% 0.06969 250.984) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

210°
100%

29.2%
0.070
251°
  • Blue
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • sky-950
  • Black 70%

Inside sRGB: displays the same on any screen.

White text
14.02:1Readable · AA
Lc -103
Black text
1.50:1Hard to read
Lc 0

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Open as palette

Recent

Colors you stop on or copy appear here. They stay on this device.

About #0c2d4d

#0c2d4d is a soft very dark blue color. In OKLCH it has 29.2% lightness, 0.07 chroma and a hue of 251°.

Inside sRGB: displays the same on any screen.

White text on it reaches 14.02:1 contrast and black text 1.5: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: #0c2d4d mixed with white

  1. 0c2d4d
  2. 23405e
  3. 39536f
  4. 506780
  5. 677b91
  6. 7f90a3
  7. 97a5b5
  8. b0bbc7
  9. cad1da
  10. e4e8ec

Darker: #0c2d4d mixed with black

  1. 0c2d4d
  2. 092642
  3. 061f37
  4. 04182c
  5. 031122
  6. 020b18
  7. 01060f
  8. 000207
  9. 000102
  10. 000000

Calmer: #0c2d4d with less saturation

  1. 0c2d4d
  2. 112d4a
  3. 152d47
  4. 182d43
  5. 1c2d40
  6. 1f2d3d
  7. 212d39
  8. 242d36
  9. 272c33
  10. 292c2f

Questions about #0c2d4d

What color is #0c2d4d?

#0c2d4d is soft very dark blue. The closest named color is Midnight Ocean. In RGB it is rgb(12, 45, 77), in HSL hsl(209.54, 73.03%, 17.45%) and in OKLCH oklch(29.195% 0.06969 250.984).

What colors go well with #0c2d4d?

The complementary color of #0c2d4d is #412400. For a calmer combination use the analogous colors #003344 and #26264d. The triadic partners are #481b23 and #1f3208.

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

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

Is #0c2d4d a warm or cool color?

#0c2d4d is a cool color. In OKLCH its hue is 251 degrees, its lightness 29.2% and its chroma 0.07.