# #021239 color: Infinite Night

#021239 is rgb(2, 18, 57) in RGB and oklch(19.899% 0.07973 262.04) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/021239

## Formats

| Format | Value |
| --- | --- |
| HEX | #021239 |
| RGB | rgb(2, 18, 57) |
| HSL | hsl(222.55, 93.22%, 11.57%) |
| HSB / HSV | hsv(222.55 96.49% 22.35%) |
| HWB | hwb(222.55 0.78% 77.65%) |
| CMYK | cmyk(96% 68% 0% 78%) |
| Lab | lab(6.28 7.05 -27.71) |
| LCH | lch(6.28 28.59 284.27) |
| OKLab | oklab(19.899% -0.01104 -0.07897) |
| OKLCH | oklch(19.899% 0.07973 262.04) |
| Display P3 | color(display-p3 0.02033 0.06901 0.2142) |
| Rec. 2020 | color(rec2020 0.01865 0.02731 0.15061) |
| Adobe RGB | color(a98-rgb 0.06134 0.09802 0.23002) |
| ProPhoto RGB | color(prophoto-rgb 0.06873 0.06092 0.15806) |
| Linear sRGB | color(srgb-linear 0.00061 0.00605 0.04092) |
| XYZ D65 | color(xyz-d65 0.0098 0.00741 0.03962) |
| XYZ D50 | color(xyz-d50 0.00845 0.00695 0.02981) |
| SwiftUI | Color(red: 0.008, green: 0.071, blue: 0.224) |
| UIKit | UIColor(red: 0.008, green: 0.071, blue: 0.224, alpha: 1) |
| Flutter / Compose | Color(0xFF021239) |
| Android XML | #021239 |

## Facts

- Closest name: Infinite Night
- Hue family: Blue, soft very dark blue
- Closest Tailwind class: slate-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 18.29:1
- Contrast with black: 1.15:1

## Tints

#021239, #14274c, #2a3c5e, #415271, #5a6985, #738199, #8e99ac, #a9b1c1, #c5cbd5, #e2e5ea

## Shades

#021239, #010e30, #010a28, #01071f, #000417, #000210, #000109, #000104, #000001, #000000

## Tones

#021239, #041336, #051432, #07142f, #09152b, #0c1528, #0e1624, #101621, #12161d, #14161a

## Harmonies

- Complementary: #021239, #231200
- Split: #021239, #2e0700, #171800
- Analogous: #021239, #00192e, #180a36
- Triadic: #021239, #310005, #001e00
- Tetradic: #021239, #25052a, #231200, #001e00
- Square: #021239, #2e0119, #231200, #001e13
- Monochromatic: #021239, #000124, #000124, #1b315b, #3a527e

## Questions about #021239

### What color is #021239?

#021239 is soft very dark blue. The closest named color is Infinite Night. In RGB it is rgb(2, 18, 57), in HSL hsl(222.55, 93.22%, 11.57%) and in OKLCH oklch(19.899% 0.07973 262.04).

### What colors go well with #021239?

The complementary color of #021239 is #231200. For a calmer combination use the analogous colors #00192e and #180a36. The triadic partners are #310005 and #001e00.

### Is white or black text more readable on #021239?

White text reads better on #021239: white gives a contrast ratio of 18.29:1 and black gives 1.15:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #021239 a warm or cool color?

#021239 is a cool color. In OKLCH its hue is 262 degrees, its lightness 19.9% and its chroma 0.08.
