# #142e52 color: Midnight Ocean

#142e52 is rgb(20, 46, 82) in RGB and oklch(30.147% 0.07287 257.068) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #142e52 |
| RGB | rgb(20, 46, 82) |
| HSL | hsl(214.84, 60.78%, 20%) |
| HSB / HSV | hsv(214.84 75.61% 32.16%) |
| HWB | hwb(214.84 7.84% 67.84%) |
| CMYK | cmyk(76% 44% 0% 68%) |
| Lab | lab(18.48 0.63 -25.4) |
| LCH | lch(18.48 25.41 271.43) |
| OKLab | oklab(30.147% -0.01631 -0.07102) |
| OKLCH | oklch(30.147% 0.07287 257.068) |
| Display P3 | color(display-p3 0.10368 0.17795 0.31123) |
| Rec. 2020 | color(rec2020 0.07668 0.11551 0.24966) |
| Adobe RGB | color(a98-rgb 0.13776 0.19456 0.32075) |
| ProPhoto RGB | color(prophoto-rgb 0.12762 0.13424 0.23953) |
| Linear sRGB | color(srgb-linear 0.007 0.02732 0.08438) |
| XYZ D65 | color(xyz-d65 0.02788 0.02712 0.08359) |
| XYZ D50 | color(xyz-d50 0.02565 0.02626 0.063) |
| SwiftUI | Color(red: 0.078, green: 0.18, blue: 0.322) |
| UIKit | UIColor(red: 0.078, green: 0.18, blue: 0.322, alpha: 1) |
| Flutter / Compose | Color(0xFF142E52) |
| Android XML | #142E52 |

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

## Tints

#142e52, #294162, #3e5473, #546884, #6a7c95, #8291a6, #99a6b7, #b2bcc9, #cbd2db, #e5e8ed

## Shades

#142e52, #102746, #0c1f3b, #08182f, #051225, #030b1a, #010611, #010208, #000102, #000000

## Tones

#142e52, #172e4f, #1a2f4b, #1d2f48, #202f44, #222f40, #252f3d, #272f39, #2a2f36, #2c2e32

## Harmonies

- Complementary: #142e52, #422800
- Split: #142e52, #4b2008, #333000
- Analogous: #142e52, #00344a, #2c2750
- Triadic: #142e52, #4c1c21, #1b360e
- Tetradic: #142e52, #3d2146, #422800, #1b360e
- Square: #142e52, #471d35, #422800, #003926
- Monochromatic: #142e52, #000221, #001031, #334e75, #547099

## Questions about #142e52

### What color is #142e52?

#142e52 is soft dark blue. The closest named color is Midnight Ocean. In RGB it is rgb(20, 46, 82), in HSL hsl(214.84, 60.78%, 20%) and in OKLCH oklch(30.147% 0.07287 257.068).

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

The complementary color of #142e52 is #422800. For a calmer combination use the analogous colors #00344a and #2c2750. The triadic partners are #4c1c21 and #1b360e.

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

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

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

#142e52 is a cool color. In OKLCH its hue is 257 degrees, its lightness 30.1% and its chroma 0.073.
