Skip to the color picker

#0f2a4c color: Midnight Ocean

#0f2a4c is rgb(15, 42, 76) in RGB and oklch(28.434% 0.07072 255.586) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

213°
100%

28.4%
0.071
256°
  • Blue
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • sky-950
  • Black 70%

Inside sRGB: displays the same on any screen.

White text
14.42:1Readable · AA
Lc -104
Black text
1.46: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 #0f2a4c

#0f2a4c is a soft very dark blue color. In OKLCH it has 28.4% lightness, 0.071 chroma and a hue of 256°.

Inside sRGB: displays the same on any screen.

White text on it reaches 14.42:1 contrast and black text 1.46: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: #0f2a4c mixed with white

Darker: #0f2a4c mixed with black

  1. 000000

Calmer: #0f2a4c with less saturation

Similar named colors

Colors that go with #0f2a4c

Complementary
Analogous
Triadic
Split

Questions about #0f2a4c

What color is #0f2a4c?

#0f2a4c is soft very dark blue. The closest named color is Midnight Ocean. In RGB it is rgb(15, 42, 76), in HSL hsl(213.44, 67.03%, 17.84%) and in OKLCH oklch(28.434% 0.07072 255.586).

What colors go well with #0f2a4c?

The complementary color of #0f2a4c is #3e2400. For a calmer combination use the analogous colors #003044 and #27234b. The triadic partners are #47191e and #193109.

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

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

Is #0f2a4c a warm or cool color?

#0f2a4c is a cool color. In OKLCH its hue is 256 degrees, its lightness 28.4% and its chroma 0.071.