# #122e52 color: Midnight Ocean

#122e52 is rgb(18, 46, 82) in RGB and oklch(30.056% 0.0737 255.881) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/122e52

## Formats

| Format | Value |
| --- | --- |
| HEX | #122e52 |
| RGB | rgb(18, 46, 82) |
| HSL | hsl(213.75, 64%, 19.61%) |
| HSB / HSV | hsv(213.75 78.05% 32.16%) |
| HWB | hwb(213.75 7.06% 67.84%) |
| CMYK | cmyk(78% 44% 0% 68%) |
| Lab | lab(18.39 0.23 -25.56) |
| LCH | lch(18.39 25.56 270.51) |
| OKLab | oklab(30.056% -0.01798 -0.07148) |
| OKLCH | oklch(30.056% 0.0737 255.881) |
| Display P3 | color(display-p3 0.09872 0.17784 0.3112) |
| Rec. 2020 | color(rec2020 0.07401 0.11527 0.24963) |
| Adobe RGB | color(a98-rgb 0.13439 0.19456 0.32075) |
| ProPhoto RGB | color(prophoto-rgb 0.12617 0.13399 0.2395) |
| Linear sRGB | color(srgb-linear 0.00605 0.02732 0.08438) |
| XYZ D65 | color(xyz-d65 0.02749 0.02692 0.08358) |
| XYZ D50 | color(xyz-d50 0.02523 0.02605 0.06299) |
| SwiftUI | Color(red: 0.071, green: 0.18, blue: 0.322) |
| UIKit | UIColor(red: 0.071, green: 0.18, blue: 0.322, alpha: 1) |
| Flutter / Compose | Color(0xFF122E52) |
| Android XML | #122E52 |

## 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.65:1
- Contrast with black: 1.54:1

## Tints

#122e52, #274162, #3d5473, #536884, #697c95, #8191a6, #99a6b7, #b2bcc9, #cbd2db, #e5e8ed

## Shades

#122e52, #0e2746, #0a1f3b, #07182f, #041225, #020b1a, #010611, #010208, #000102, #000000

## Tones

#122e52, #162e4f, #192f4b, #1c2f47, #1f2f44, #222f40, #242f3d, #272f39, #292e35, #2c2e32

## Harmonies

- Complementary: #122e52, #432700
- Split: #122e52, #4b2008, #332f00
- Analogous: #122e52, #00344a, #2b2751
- Triadic: #122e52, #4c1c21, #1c360c
- Tetradic: #122e52, #3c2147, #432700, #1c360c
- Square: #122e52, #471d36, #432700, #003925
- Monochromatic: #122e52, #000321, #001031, #314e75, #527199

## Questions about #122e52

### What color is #122e52?

#122e52 is soft dark blue. The closest named color is Midnight Ocean. In RGB it is rgb(18, 46, 82), in HSL hsl(213.75, 64%, 19.61%) and in OKLCH oklch(30.056% 0.0737 255.881).

### What colors go well with #122e52?

The complementary color of #122e52 is #432700. For a calmer combination use the analogous colors #00344a and #2b2751. The triadic partners are #4c1c21 and #1c360c.

### Is white or black text more readable on #122e52?

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

### Is #122e52 a warm or cool color?

#122e52 is a cool color. In OKLCH its hue is 256 degrees, its lightness 30.1% and its chroma 0.074.
