# #011f42 color: Midnight Mirage

#011f42 is rgb(1, 31, 66) in RGB and oklch(24.116% 0.07545 254.358) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/011f42

## Formats

| Format | Value |
| --- | --- |
| HEX | #011f42 |
| RGB | rgb(1, 31, 66) |
| HSL | hsl(212.31, 97.01%, 13.14%) |
| HSB / HSV | hsv(212.31 98.48% 25.88%) |
| HWB | hwb(212.31 0.39% 74.12%) |
| CMYK | cmyk(98% 53% 0% 74%) |
| Lab | lab(11.41 1.48 -25.81) |
| LCH | lch(11.41 25.85 273.27) |
| OKLab | oklab(24.116% -0.02034 -0.07266) |
| OKLCH | oklch(24.116% 0.07545 254.358) |
| Display P3 | color(display-p3 0.03466 0.11916 0.24932) |
| Rec. 2020 | color(rec2020 0.03178 0.05958 0.18624) |
| Adobe RGB | color(a98-rgb 0.08232 0.14216 0.26253) |
| ProPhoto RGB | color(prophoto-rgb 0.08703 0.0916 0.18672) |
| Linear sRGB | color(srgb-linear 0.0003 0.0137 0.05448) |
| XYZ D65 | color(xyz-d65 0.01486 0.0138 0.05342) |
| XYZ D50 | color(xyz-d50 0.0132 0.01319 0.04024) |
| SwiftUI | Color(red: 0.004, green: 0.122, blue: 0.259) |
| UIKit | UIColor(red: 0.004, green: 0.122, blue: 0.259, alpha: 1) |
| Flutter / Compose | Color(0xFF011F42) |
| Android XML | #011F42 |

## 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.46:1
- Contrast with black: 1.28:1

## Tints

#011f42, #183354, #2f4766, #465c78, #5e728a, #77889d, #919fb0, #abb6c4, #c7ced7, #e3e6eb

## Shades

#011f42, #011938, #01142f, #000f25, #000a1c, #000614, #00030b, #000105, #000001, #000000

## Tones

#011f42, #051f3f, #08203b, #0c2038, #102035, #132031, #15202e, #18202a, #1b2027, #1d2023

## Harmonies

- Complementary: #011f42, #321900
- Split: #011f42, #3b0f00, #252000
- Analogous: #011f42, #002537, #1d1841
- Triadic: #011f42, #3c0b14, #0e2700
- Tetradic: #011f42, #2c1238, #321900, #0e2700
- Square: #011f42, #370d28, #321900, #002a16
- Monochromatic: #011f42, #000322, #000322, #1f3e64, #3f6088

## Questions about #011f42

### What color is #011f42?

#011f42 is soft very dark blue. The closest named color is Midnight Mirage. In RGB it is rgb(1, 31, 66), in HSL hsl(212.31, 97.01%, 13.14%) and in OKLCH oklch(24.116% 0.07545 254.358).

### What colors go well with #011f42?

The complementary color of #011f42 is #321900. For a calmer combination use the analogous colors #002537 and #1d1841. The triadic partners are #3c0b14 and #0e2700.

### Is white or black text more readable on #011f42?

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

### Is #011f42 a warm or cool color?

#011f42 is a cool color. In OKLCH its hue is 254 degrees, its lightness 24.1% and its chroma 0.075.
