# #071f42 color: Midnight Mirage

#071f42 is rgb(7, 31, 66) in RGB and oklch(24.389% 0.07283 258.16) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #071f42 |
| RGB | rgb(7, 31, 66) |
| HSL | hsl(215.59, 80.82%, 14.31%) |
| HSB / HSV | hsv(215.59 89.39% 25.88%) |
| HWB | hwb(215.59 2.75% 74.12%) |
| CMYK | cmyk(89% 53% 0% 74%) |
| Lab | lab(11.69 2.63 -25.35) |
| LCH | lch(11.69 25.48 275.92) |
| OKLab | oklab(24.389% -0.01494 -0.07128) |
| OKLCH | oklch(24.389% 0.07283 258.16) |
| Display P3 | color(display-p3 0.05267 0.11949 0.24939) |
| Rec. 2020 | color(rec2020 0.03692 0.06014 0.18632) |
| Adobe RGB | color(a98-rgb 0.09327 0.14216 0.26253) |
| ProPhoto RGB | color(prophoto-rgb 0.09074 0.09227 0.18678) |
| Linear sRGB | color(srgb-linear 0.00212 0.0137 0.05448) |
| XYZ D65 | color(xyz-d65 0.01561 0.01418 0.05346) |
| XYZ D50 | color(xyz-d50 0.014 0.0136 0.04026) |
| SwiftUI | Color(red: 0.027, green: 0.122, blue: 0.259) |
| UIKit | UIColor(red: 0.027, green: 0.122, blue: 0.259, alpha: 1) |
| Flutter / Compose | Color(0xFF071F42) |
| Android XML | #071F42 |

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

## Tints

#071f42, #1d3354, #334766, #495c78, #61728a, #79889d, #939fb0, #adb6c3, #c8ced7, #e3e6eb

## Shades

#071f42, #051938, #04142f, #020f25, #020a1c, #010614, #00030b, #000105, #000001, #000000

## Tones

#071f42, #0a1f3f, #0d203b, #102038, #132035, #152131, #17212e, #1a212b, #1c2027, #1e2024

## Harmonies

- Complementary: #071f42, #321a00
- Split: #071f42, #3a1200, #242200
- Analogous: #071f42, #00253a, #201840
- Triadic: #071f42, #3c0d12, #0b2801
- Tetradic: #071f42, #2e1236, #321a00, #0b2801
- Square: #071f42, #380e26, #321a00, #002a19
- Monochromatic: #071f42, #000221, #000322, #253e64, #456088

## Questions about #071f42

### What color is #071f42?

#071f42 is soft very dark blue. The closest named color is Midnight Mirage. In RGB it is rgb(7, 31, 66), in HSL hsl(215.59, 80.82%, 14.31%) and in OKLCH oklch(24.389% 0.07283 258.16).

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

The complementary color of #071f42 is #321a00. For a calmer combination use the analogous colors #00253a and #201840. The triadic partners are #3c0d12 and #0b2801.

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

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

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

#071f42 is a cool color. In OKLCH its hue is 258 degrees, its lightness 24.4% and its chroma 0.073.
