Skip to the color picker

#0a2f4e color: Midnight Ocean

#0a2f4e is rgb(10, 47, 78) in RGB and oklch(29.745% 0.06955 248.3) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

207°
100%

29.7%
0.070
248°
  • Blue
  • Very dark
  • Soft
  • Cool
  • ≈ Graphite
  • sky-950
  • Black 69%

Inside sRGB: displays the same on any screen.

White text
13.73:1Readable · AA
Lc -103
Black text
1.53: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 #0a2f4e

#0a2f4e is a soft very dark blue color. In OKLCH it has 29.7% lightness, 0.07 chroma and a hue of 248°.

Inside sRGB: displays the same on any screen.

White text on it reaches 13.73:1 contrast and black text 1.53: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: #0a2f4e mixed with white

  1. 0a2f4e
  2. 22425f
  3. 39556f
  4. 506881
  5. 677c92
  6. 7f91a3
  7. 97a6b5
  8. b0bcc7
  9. cad2da
  10. e4e8ec

Darker: #0a2f4e mixed with black

  1. 0a2f4e
  2. 072743
  3. 052038
  4. 03192d
  5. 021223
  6. 010c19
  7. 01060f
  8. 000307
  9. 000102
  10. 000000

Calmer: #0a2f4e with less saturation

  1. 0a2f4e
  2. 102f4b
  3. 142f48
  4. 182f44
  5. 1c2f41
  6. 1f2f3e
  7. 222f3b
  8. 252e37
  9. 282e34
  10. 2b2e31

Questions about #0a2f4e

What color is #0a2f4e?

#0a2f4e is soft very dark blue. The closest named color is Midnight Ocean. In RGB it is rgb(10, 47, 78), in HSL hsl(207.35, 77.27%, 17.25%) and in OKLCH oklch(29.745% 0.06955 248.3).

What colors go well with #0a2f4e?

The complementary color of #0a2f4e is #432500. For a calmer combination use the analogous colors #003544 and #26284f. The triadic partners are #491c26 and #233307.

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

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

Is #0a2f4e a warm or cool color?

#0a2f4e is a cool color. In OKLCH its hue is 248 degrees, its lightness 29.7% and its chroma 0.07.