# #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.

Source: https://pickshade.com/color/162e4f

## Formats

| Format | Value |
| --- | --- |
| HEX | #162e4f |
| RGB | rgb(22, 46, 79) |
| HSL | hsl(214.74, 56.44%, 19.8%) |
| HSB / HSV | hsv(214.74 72.15% 30.98%) |
| HWB | hwb(214.74 8.63% 69.02%) |
| CMYK | cmyk(72% 42% 0% 69%) |
| Lab | lab(18.41 0.06 -23.49) |
| LCH | lch(18.41 23.49 270.14) |
| OKLab | oklab(30.035% -0.01533 -0.06552) |
| OKLCH | oklch(30.035% 0.06729 256.828) |
| Display P3 | color(display-p3 0.10884 0.17808 0.30014) |
| Rec. 2020 | color(rec2020 0.07837 0.11551 0.23832) |
| Adobe RGB | color(a98-rgb 0.1413 0.19456 0.30999) |
| ProPhoto RGB | color(prophoto-rgb 0.12667 0.13404 0.23008) |
| Linear sRGB | color(srgb-linear 0.00802 0.02732 0.07819) |
| XYZ D65 | color(xyz-d65 0.02719 0.02689 0.07773) |
| XYZ D50 | color(xyz-d50 0.02521 0.02611 0.0586) |
| SwiftUI | Color(red: 0.086, green: 0.18, blue: 0.31) |
| UIKit | UIColor(red: 0.086, green: 0.18, blue: 0.31, alpha: 1) |
| Flutter / Compose | Color(0xFF162E4F) |
| Android XML | #162E4F |

## Facts

- Closest name: Midnight Ocean
- Hue family: Blue, soft dark blue
- Closest Tailwind class: sky-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 13.66:1
- Contrast with black: 1.54:1

## Tints

#162e4f, #2a4160, #3f5470, #556781, #6b7c93, #8290a4, #9aa6b6, #b3bbc8, #cbd1da, #e5e8ec

## Shades

#162e4f, #122744, #0d1f38, #09182e, #061223, #030b19, #020610, #010207, #000102, #000000

## Tones

#162e4f, #192e4c, #1c2e49, #1e2f45, #212f42, #232f3f, #252f3b, #272e38, #2a2e35, #2c2e31

## Harmonies

- Complementary: #162e4f, #402800
- Split: #162e4f, #48220c, #323000
- Analogous: #162e4f, #003448, #2c284e
- Triadic: #162e4f, #4a1e22, #1d3511
- Tetradic: #162e4f, #3b2244, #402800, #1d3511
- Square: #162e4f, #451e34, #402800, #003826
- Monochromatic: #162e4f, #00031f, #00102e, #354e72, #557096

## 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.
