# #021f41 color: Midnight Mirage

#021f41 is rgb(2, 31, 65) in RGB and oklch(24.076% 0.07341 254.482) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/021f41

## Formats

| Format | Value |
| --- | --- |
| HEX | #021f41 |
| RGB | rgb(2, 31, 65) |
| HSL | hsl(212.38, 94.03%, 13.14%) |
| HSB / HSV | hsv(212.38 96.92% 25.49%) |
| HWB | hwb(212.38 0.78% 74.51%) |
| CMYK | cmyk(97% 52% 0% 75%) |
| Lab | lab(11.39 1.27 -25.14) |
| LCH | lch(11.39 25.18 272.88) |
| OKLab | oklab(24.076% -0.01964 -0.07073) |
| OKLCH | oklch(24.076% 0.07341 254.482) |
| Display P3 | color(display-p3 0.03788 0.11921 0.2456) |
| Rec. 2020 | color(rec2020 0.03232 0.05959 0.1825) |
| Adobe RGB | color(a98-rgb 0.08426 0.14216 0.25899) |
| ProPhoto RGB | color(prophoto-rgb 0.08677 0.09154 0.18373) |
| Linear sRGB | color(srgb-linear 0.00061 0.0137 0.05286) |
| XYZ D65 | color(xyz-d65 0.01469 0.01374 0.05189) |
| XYZ D50 | color(xyz-d50 0.01311 0.01316 0.03909) |
| SwiftUI | Color(red: 0.008, green: 0.122, blue: 0.255) |
| UIKit | UIColor(red: 0.008, green: 0.122, blue: 0.255, alpha: 1) |
| Flutter / Compose | Color(0xFF021F41) |
| Android XML | #021F41 |

## 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.47:1
- Contrast with black: 1.27:1

## Tints

#021f41, #193353, #2f4765, #475c77, #5f728a, #78889d, #919fb0, #acb6c3, #c7ced7, #e3e6eb

## Shades

#021f41, #011937, #01142e, #010f25, #000a1c, #000613, #00030b, #000105, #000001, #000000

## Tones

#021f41, #051f3e, #09203a, #0d2037, #102034, #132031, #16202d, #18202a, #1b2026, #1d2023

## Harmonies

- Complementary: #021f41, #321900
- Split: #021f41, #3a1000, #252000
- Analogous: #021f41, #002537, #1d1840
- Triadic: #021f41, #3b0c14, #0f2600
- Tetradic: #021f41, #2c1237, #321900, #0f2600
- Square: #021f41, #360d28, #321900, #002916
- Monochromatic: #021f41, #000321, #000321, #203e63, #406087

## Questions about #021f41

### What color is #021f41?

#021f41 is soft very dark blue. The closest named color is Midnight Mirage. In RGB it is rgb(2, 31, 65), in HSL hsl(212.38, 94.03%, 13.14%) and in OKLCH oklch(24.076% 0.07341 254.482).

### What colors go well with #021f41?

The complementary color of #021f41 is #321900. For a calmer combination use the analogous colors #002537 and #1d1840. The triadic partners are #3b0c14 and #0f2600.

### Is white or black text more readable on #021f41?

White text reads better on #021f41: white gives a contrast ratio of 16.47:1 and black gives 1.27:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #021f41 a warm or cool color?

#021f41 is a cool color. In OKLCH its hue is 254 degrees, its lightness 24.1% and its chroma 0.073.
