# #022040 color: Midnight Mirage

#022040 is rgb(2, 32, 64) in RGB and oklch(24.266% 0.07046 252.869) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #022040 |
| RGB | rgb(2, 32, 64) |
| HSL | hsl(210.97, 93.94%, 12.94%) |
| HSB / HSV | hsv(210.97 96.88% 25.1%) |
| HWB | hwb(210.97 0.78% 74.9%) |
| CMYK | cmyk(97% 50% 0% 75%) |
| Lab | lab(11.69 0.16 -23.97) |
| LCH | lch(11.69 23.97 270.37) |
| OKLab | oklab(24.266% -0.02075 -0.06733) |
| OKLCH | oklch(24.266% 0.07046 252.869) |
| Display P3 | color(display-p3 0.03958 0.12308 0.24202) |
| Rec. 2020 | color(rec2020 0.03311 0.06258 0.17892) |
| Adobe RGB | color(a98-rgb 0.08611 0.14561 0.25553) |
| ProPhoto RGB | color(prophoto-rgb 0.08685 0.09378 0.18093) |
| Linear sRGB | color(srgb-linear 0.00061 0.01444 0.05127) |
| XYZ D65 | color(xyz-d65 0.01467 0.01416 0.05047) |
| XYZ D50 | color(xyz-d50 0.01316 0.0136 0.03802) |
| SwiftUI | Color(red: 0.008, green: 0.125, blue: 0.251) |
| UIKit | UIColor(red: 0.008, green: 0.125, blue: 0.251, alpha: 1) |
| Flutter / Compose | Color(0xFF022040) |
| Android XML | #022040 |

## Facts

- Closest name: Midnight Mirage
- Hue family: Blue, soft very dark blue
- Closest Tailwind class: indigo-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 16.37:1
- Contrast with black: 1.28:1

## Tints

#022040, #193452, #304864, #475d76, #5f7289, #78889c, #929faf, #acb6c3, #c7ced6, #e3e6eb

## Shades

#022040, #011a36, #01152d, #010f24, #000a1b, #000613, #00030b, #000105, #000001, #000000

## Tones

#022040, #06203d, #09213a, #0d2137, #102133, #132130, #16212d, #19212a, #1b2027, #1e2023

## Harmonies

- Complementary: #022040, #331800
- Split: #022040, #3a1101, #262000
- Analogous: #022040, #002637, #1c1a40
- Triadic: #022040, #3a0e16, #122600
- Tetradic: #022040, #2b1437, #331800, #122600
- Square: #022040, #350f29, #331800, #002a16
- Monochromatic: #022040, #000320, #000420, #213f62, #416185

## Questions about #022040

### What color is #022040?

#022040 is soft very dark blue. The closest named color is Midnight Mirage. In RGB it is rgb(2, 32, 64), in HSL hsl(210.97, 93.94%, 12.94%) and in OKLCH oklch(24.266% 0.07046 252.869).

### What colors go well with #022040?

The complementary color of #022040 is #331800. For a calmer combination use the analogous colors #002637 and #1c1a40. The triadic partners are #3a0e16 and #122600.

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

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

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

#022040 is a cool color. In OKLCH its hue is 253 degrees, its lightness 24.3% and its chroma 0.07.
