# #021138 color: Infinite Night

#021138 is rgb(2, 17, 56) in RGB and oklch(19.544% 0.07962 262.443) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #021138 |
| RGB | rgb(2, 17, 56) |
| HSL | hsl(223.33, 93.1%, 11.37%) |
| HSB / HSV | hsv(223.33 96.43% 21.96%) |
| HWB | hwb(223.33 0.78% 78.04%) |
| CMYK | cmyk(96% 70% 0% 78%) |
| Lab | lab(5.92 7.13 -27.57) |
| LCH | lch(5.92 28.47 284.49) |
| OKLab | oklab(19.544% -0.01047 -0.07893) |
| OKLCH | oklch(19.544% 0.07962 262.443) |
| Display P3 | color(display-p3 0.01931 0.06515 0.21036) |
| Rec. 2020 | color(rec2020 0.01773 0.02541 0.14675) |
| Adobe RGB | color(a98-rgb 0.05967 0.09468 0.22646) |
| ProPhoto RGB | color(prophoto-rgb 0.06711 0.05867 0.15503) |
| Linear sRGB | color(srgb-linear 0.00061 0.00561 0.03955) |
| XYZ D65 | color(xyz-d65 0.00939 0.00699 0.03827) |
| XYZ D50 | color(xyz-d50 0.00808 0.00655 0.02879) |
| SwiftUI | Color(red: 0.008, green: 0.067, blue: 0.22) |
| UIKit | UIColor(red: 0.008, green: 0.067, blue: 0.22, alpha: 1) |
| Flutter / Compose | Color(0xFF021138) |
| Android XML | #021138 |

## 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.42:1
- Contrast with black: 1.14:1

## Tints

#021138, #14264b, #2a3c5e, #415271, #596884, #738098, #8d98ac, #a9b1c0, #c5cad5, #e1e4ea

## Shades

#021138, #010d2f, #010927, #01061f, #000417, #00020f, #000108, #000004, #000001, #000000

## Tones

#021138, #031235, #051331, #07142e, #09142a, #0b1527, #0d1523, #0f1520, #11151c, #131519

## Harmonies

- Complementary: #021138, #221100
- Split: #021138, #2c0600, #161700
- Analogous: #021138, #00182d, #180935
- Triadic: #021138, #300004, #001d00
- Tetradic: #021138, #250429, #221100, #001d00
- Square: #021138, #2d0018, #221100, #001d12
- Monochromatic: #021138, #000124, #000124, #1b305a, #39517d

## Questions about #021138

### What color is #021138?

#021138 is soft very dark blue. The closest named color is Infinite Night. In RGB it is rgb(2, 17, 56), in HSL hsl(223.33, 93.1%, 11.37%) and in OKLCH oklch(19.544% 0.07962 262.443).

### What colors go well with #021138?

The complementary color of #021138 is #221100. For a calmer combination use the analogous colors #00182d and #180935. The triadic partners are #300004 and #001d00.

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

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

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

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