Skip to the color picker

#162e4f color: Midnight Ocean

#162e4f is rgb(22, 46, 79) in RGB and oklch(30.035% 0.06729 256.828) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

215°
100%

30%
0.067
257°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Graphite
  • sky-950
  • Black 69%

Inside sRGB: displays the same on any screen.

White text
13.66:1Readable · AA
Lc -103
Black text
1.54: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 #162e4f

#162e4f is a soft dark blue color. In OKLCH it has 30% lightness, 0.067 chroma and a hue of 257°.

Inside sRGB: displays the same on any screen.

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

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

More dark blue colors

Lighter: #162e4f mixed with white

  1. 162e4f
  2. 2a4160
  3. 3f5470
  4. 556781
  5. 6b7c93
  6. 8290a4
  7. 9aa6b6
  8. b3bbc8
  9. cbd1da
  10. e5e8ec

Darker: #162e4f mixed with black

  1. 162e4f
  2. 122744
  3. 0d1f38
  4. 09182e
  5. 061223
  6. 030b19
  7. 020610
  8. 010207
  9. 000102
  10. 000000

Calmer: #162e4f with less saturation

  1. 162e4f
  2. 192e4c
  3. 1c2e49
  4. 1e2f45
  5. 212f42
  6. 232f3f
  7. 252f3b
  8. 272e38
  9. 2a2e35
  10. 2c2e31

Questions about #162e4f

What color is #162e4f?

#162e4f is soft dark blue. The closest named color is Midnight Ocean. In RGB it is rgb(22, 46, 79), in HSL hsl(214.74, 56.44%, 19.8%) and in OKLCH oklch(30.035% 0.06729 256.828).

What colors go well with #162e4f?

The complementary color of #162e4f is #402800. For a calmer combination use the analogous colors #003448 and #2c284e. The triadic partners are #4a1e22 and #1d3511.

Is white or black text more readable on #162e4f?

White text reads better on #162e4f: white gives a contrast ratio of 13.66:1 and black gives 1.54:1. WCAG AA asks for at least 4.5:1 for body text.

Is #162e4f a warm or cool color?

#162e4f is a cool color. In OKLCH its hue is 257 degrees, its lightness 30% and its chroma 0.067.