# #051f42 color: Midnight Mirage

#051f42 is rgb(5, 31, 66) in RGB and oklch(24.299% 0.07365 256.895) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #051f42 |
| RGB | rgb(5, 31, 66) |
| HSL | hsl(214.43, 85.92%, 13.92%) |
| HSB / HSV | hsv(214.43 92.42% 25.88%) |
| HWB | hwb(214.43 1.96% 74.12%) |
| CMYK | cmyk(92% 53% 0% 74%) |
| Lab | lab(11.6 2.25 -25.5) |
| LCH | lch(11.6 25.6 275.05) |
| OKLab | oklab(24.299% -0.0167 -0.07174) |
| OKLCH | oklch(24.299% 0.07365 256.895) |
| Display P3 | color(display-p3 0.04711 0.11938 0.24937) |
| Rec. 2020 | color(rec2020 0.03521 0.05996 0.18629) |
| Adobe RGB | color(a98-rgb 0.0898 0.14216 0.26253) |
| ProPhoto RGB | color(prophoto-rgb 0.08952 0.09204 0.18676) |
| Linear sRGB | color(srgb-linear 0.00152 0.0137 0.05448) |
| XYZ D65 | color(xyz-d65 0.01536 0.01406 0.05345) |
| XYZ D50 | color(xyz-d50 0.01373 0.01346 0.04026) |
| SwiftUI | Color(red: 0.02, green: 0.122, blue: 0.259) |
| UIKit | UIColor(red: 0.02, green: 0.122, blue: 0.259, alpha: 1) |
| Flutter / Compose | Color(0xFF051F42) |
| Android XML | #051F42 |

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

## Tints

#051f42, #1b3354, #314766, #485c78, #60728a, #79889d, #929fb0, #acb6c4, #c7ced7, #e3e6eb

## Shades

#051f42, #041938, #03142f, #020f25, #010a1c, #010614, #00030b, #000105, #000001, #000000

## Tones

#051f42, #081f3f, #0c203b, #0f2038, #122035, #142031, #17202e, #19202b, #1c2027, #1e2024

## Harmonies

- Complementary: #051f42, #321a00
- Split: #051f42, #3a1100, #242100
- Analogous: #051f42, #002539, #1f1841
- Triadic: #051f42, #3c0d13, #0c2700
- Tetradic: #051f42, #2d1237, #321a00, #0c2700
- Square: #051f42, #370e27, #321a00, #002a18
- Monochromatic: #051f42, #000221, #000322, #233e64, #436088

## Questions about #051f42

### What color is #051f42?

#051f42 is soft very dark blue. The closest named color is Midnight Mirage. In RGB it is rgb(5, 31, 66), in HSL hsl(214.43, 85.92%, 13.92%) and in OKLCH oklch(24.299% 0.07365 256.895).

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

The complementary color of #051f42 is #321a00. For a calmer combination use the analogous colors #002539 and #1f1841. The triadic partners are #3c0d13 and #0c2700.

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

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

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

#051f42 is a cool color. In OKLCH its hue is 257 degrees, its lightness 24.3% and its chroma 0.074.
