# #051f40 color: Midnight Mirage

#051f40 is rgb(5, 31, 64) in RGB and oklch(24.129% 0.07046 255.92) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #051f40 |
| RGB | rgb(5, 31, 64) |
| HSL | hsl(213.56, 85.51%, 13.53%) |
| HSB / HSV | hsv(213.56 92.19% 25.1%) |
| HWB | hwb(213.56 1.96% 74.9%) |
| CMYK | cmyk(92% 52% 0% 75%) |
| Lab | lab(11.46 1.46 -24.32) |
| LCH | lch(11.46 24.36 273.44) |
| OKLab | oklab(24.129% -0.01714 -0.06834) |
| OKLCH | oklch(24.129% 0.07046 255.92) |
| Display P3 | color(display-p3 0.04711 0.11938 0.24192) |
| Rec. 2020 | color(rec2020 0.03458 0.05979 0.17878) |
| Adobe RGB | color(a98-rgb 0.0898 0.14216 0.25546) |
| ProPhoto RGB | color(prophoto-rgb 0.08778 0.09171 0.18078) |
| Linear sRGB | color(srgb-linear 0.00152 0.0137 0.05127) |
| XYZ D65 | color(xyz-d65 0.01478 0.01382 0.0504) |
| XYZ D50 | color(xyz-d50 0.01327 0.01327 0.03796) |
| SwiftUI | Color(red: 0.02, green: 0.122, blue: 0.251) |
| UIKit | UIColor(red: 0.02, green: 0.122, blue: 0.251, alpha: 1) |
| Flutter / Compose | Color(0xFF051F40) |
| Android XML | #051F40 |

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

## Tints

#051f40, #1b3352, #314764, #485c76, #607189, #79889c, #929eaf, #acb6c3, #c7ced7, #e3e6eb

## Shades

#051f40, #041936, #03142d, #020f24, #010a1b, #010613, #00030b, #000105, #000001, #000000

## Tones

#051f40, #081f3d, #0c203a, #0f2037, #122033, #142030, #17202d, #19202a, #1b2026, #1d2023

## Harmonies

- Complementary: #051f40, #321900
- Split: #051f40, #391100, #252100
- Analogous: #051f40, #002538, #1e193f
- Triadic: #051f40, #3a0d14, #0e2601
- Tetradic: #051f40, #2c1336, #321900, #0e2601
- Square: #051f40, #360f27, #321900, #002917
- Monochromatic: #051f40, #000320, #000320, #233e62, #435f85

## Questions about #051f40

### What color is #051f40?

#051f40 is soft very dark blue. The closest named color is Midnight Mirage. In RGB it is rgb(5, 31, 64), in HSL hsl(213.56, 85.51%, 13.53%) and in OKLCH oklch(24.129% 0.07046 255.92).

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

The complementary color of #051f40 is #321900. For a calmer combination use the analogous colors #002538 and #1e193f. The triadic partners are #3a0d14 and #0e2601.

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

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

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

#051f40 is a cool color. In OKLCH its hue is 256 degrees, its lightness 24.1% and its chroma 0.07.
