# #021e41 color: Midnight Mirage

#021e41 is rgb(2, 30, 65) in RGB and oklch(23.804% 0.07482 255.449) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #021e41 |
| RGB | rgb(2, 30, 65) |
| HSL | hsl(213.33, 94.03%, 13.14%) |
| HSB / HSV | hsv(213.33 96.92% 25.49%) |
| HWB | hwb(213.33 0.78% 74.51%) |
| CMYK | cmyk(97% 54% 0% 75%) |
| Lab | lab(11.03 1.98 -25.73) |
| LCH | lch(11.03 25.8 274.41) |
| OKLab | oklab(23.804% -0.0188 -0.07242) |
| OKLCH | oklch(23.804% 0.07482 255.449) |
| Display P3 | color(display-p3 0.03623 0.11535 0.24547) |
| Rec. 2020 | color(rec2020 0.03125 0.05661 0.18233) |
| Adobe RGB | color(a98-rgb 0.08243 0.13872 0.25892) |
| ProPhoto RGB | color(prophoto-rgb 0.08583 0.08915 0.18355) |
| Linear sRGB | color(srgb-linear 0.00061 0.01298 0.05286) |
| XYZ D65 | color(xyz-d65 0.01443 0.01323 0.0518) |
| XYZ D50 | color(xyz-d50 0.01283 0.01265 0.03902) |
| SwiftUI | Color(red: 0.008, green: 0.118, blue: 0.255) |
| UIKit | UIColor(red: 0.008, green: 0.118, blue: 0.255, alpha: 1) |
| Flutter / Compose | Color(0xFF021E41) |
| Android XML | #021E41 |

## 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.61:1
- Contrast with black: 1.26:1

## Tints

#021e41, #183253, #2f4665, #465b77, #5e718a, #77879d, #919eb0, #abb6c3, #c7ced7, #e3e6eb

## Shades

#021e41, #011937, #01132e, #010e25, #00091c, #000513, #00030b, #000105, #000001, #000000

## Tones

#021e41, #051e3e, #091f3a, #0c1f37, #101f34, #121f30, #151f2d, #181f29, #1a1f26, #1c1f22

## Harmonies

- Complementary: #021e41, #311800
- Split: #021e41, #3a0f00, #242000
- Analogous: #021e41, #002437, #1d1740
- Triadic: #021e41, #3b0b13, #0c2600
- Tetradic: #021e41, #2c1136, #311800, #0c2600
- Square: #021e41, #360c26, #311800, #002916
- Monochromatic: #021e41, #000221, #000221, #203d63, #405f87

## Questions about #021e41

### What color is #021e41?

#021e41 is soft very dark blue. The closest named color is Midnight Mirage. In RGB it is rgb(2, 30, 65), in HSL hsl(213.33, 94.03%, 13.14%) and in OKLCH oklch(23.804% 0.07482 255.449).

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

The complementary color of #021e41 is #311800. For a calmer combination use the analogous colors #002437 and #1d1740. The triadic partners are #3b0b13 and #0c2600.

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

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

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

#021e41 is a cool color. In OKLCH its hue is 255 degrees, its lightness 23.8% and its chroma 0.075.
