# #081f42 color: Midnight Mirage

#081f42 is rgb(8, 31, 66) in RGB and oklch(24.434% 0.07244 258.791) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #081f42 |
| RGB | rgb(8, 31, 66) |
| HSL | hsl(216.21, 78.38%, 14.51%) |
| HSB / HSV | hsv(216.21 87.88% 25.88%) |
| HWB | hwb(216.21 3.14% 74.12%) |
| CMYK | cmyk(88% 53% 0% 74%) |
| Lab | lab(11.73 2.82 -25.27) |
| LCH | lch(11.73 25.43 276.36) |
| OKLab | oklab(24.434% -0.01408 -0.07105) |
| OKLCH | oklch(24.434% 0.07244 258.791) |
| Display P3 | color(display-p3 0.0553 0.11954 0.24941) |
| Rec. 2020 | color(rec2020 0.03778 0.06024 0.18633) |
| Adobe RGB | color(a98-rgb 0.09495 0.14216 0.26253) |
| ProPhoto RGB | color(prophoto-rgb 0.09135 0.09238 0.18679) |
| Linear sRGB | color(srgb-linear 0.00243 0.0137 0.05448) |
| XYZ D65 | color(xyz-d65 0.01573 0.01425 0.05347) |
| XYZ D50 | color(xyz-d50 0.01413 0.01367 0.04027) |
| SwiftUI | Color(red: 0.031, green: 0.122, blue: 0.259) |
| UIKit | UIColor(red: 0.031, green: 0.122, blue: 0.259, alpha: 1) |
| Flutter / Compose | Color(0xFF081F42) |
| Android XML | #081F42 |

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

## Tints

#081f42, #1d3354, #334766, #4a5c78, #61728a, #7a889d, #939fb0, #adb6c3, #c8ced7, #e3e6eb

## Shades

#081f42, #061938, #04142f, #030f25, #020a1c, #010614, #01030b, #000105, #000001, #000000

## Tones

#081f42, #0b1f3f, #0e203b, #112038, #132035, #162132, #18212e, #1a212b, #1c2127, #1e2024

## Harmonies

- Complementary: #081f42, #321b00
- Split: #081f42, #3a1200, #242200
- Analogous: #081f42, #00253b, #201840
- Triadic: #081f42, #3c0e12, #0b2802
- Tetradic: #081f42, #2e1336, #321b00, #0b2802
- Square: #081f42, #380e26, #321b00, #002a1a
- Monochromatic: #081f42, #000221, #000322, #263e64, #456088

## Questions about #081f42

### What color is #081f42?

#081f42 is soft very dark blue. The closest named color is Midnight Mirage. In RGB it is rgb(8, 31, 66), in HSL hsl(216.21, 78.38%, 14.51%) and in OKLCH oklch(24.434% 0.07244 258.791).

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

The complementary color of #081f42 is #321b00. For a calmer combination use the analogous colors #00253b and #201840. The triadic partners are #3c0e12 and #0b2802.

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

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

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

#081f42 is a cool color. In OKLCH its hue is 259 degrees, its lightness 24.4% and its chroma 0.072.
