# #031e42 color: Midnight Mirage

#031e42 is rgb(3, 30, 66) in RGB and oklch(23.939% 0.07595 256.564) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/031e42

## Formats

| Format | Value |
| --- | --- |
| HEX | #031e42 |
| RGB | rgb(3, 30, 66) |
| HSL | hsl(214.29, 91.3%, 13.53%) |
| HSB / HSV | hsv(214.29 95.45% 25.88%) |
| HWB | hwb(214.29 1.18% 74.12%) |
| CMYK | cmyk(95% 55% 0% 74%) |
| Lab | lab(11.14 2.59 -26.23) |
| LCH | lch(11.14 26.36 275.63) |
| OKLab | oklab(23.939% -0.01765 -0.07387) |
| OKLCH | oklch(23.939% 0.07595 256.564) |
| Display P3 | color(display-p3 0.03946 0.11541 0.24921) |
| Rec. 2020 | color(rec2020 0.03243 0.05679 0.1861) |
| Adobe RGB | color(a98-rgb 0.08437 0.13872 0.26246) |
| ProPhoto RGB | color(prophoto-rgb 0.08736 0.08944 0.18656) |
| Linear sRGB | color(srgb-linear 0.00091 0.01298 0.05448) |
| XYZ D65 | color(xyz-d65 0.01485 0.01341 0.05335) |
| XYZ D50 | color(xyz-d50 0.01319 0.01281 0.04018) |
| SwiftUI | Color(red: 0.012, green: 0.118, blue: 0.259) |
| UIKit | UIColor(red: 0.012, green: 0.118, blue: 0.259, alpha: 1) |
| Flutter / Compose | Color(0xFF031E42) |
| Android XML | #031E42 |

## 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.56:1
- Contrast with black: 1.27:1

## Tints

#031e42, #193254, #304666, #475b78, #5f718a, #78879d, #919eb0, #acb6c4, #c7ced7, #e3e6eb

## Shades

#031e42, #021938, #02132f, #010e25, #01091c, #000514, #00030b, #000105, #000001, #000000

## Tones

#031e42, #061f3f, #0a1f3b, #0d1f38, #101f34, #132031, #16202d, #18202a, #1b1f26, #1d1f23

## Harmonies

- Complementary: #031e42, #311900
- Split: #031e42, #3a0f00, #242000
- Analogous: #031e42, #002438, #1e1741
- Triadic: #031e42, #3b0a12, #0b2700
- Tetradic: #031e42, #2d1137, #311900, #0b2700
- Square: #031e42, #370c26, #311900, #002917
- Monochromatic: #031e42, #000222, #000222, #213d64, #415f88

## Questions about #031e42

### What color is #031e42?

#031e42 is soft very dark blue. The closest named color is Midnight Mirage. In RGB it is rgb(3, 30, 66), in HSL hsl(214.29, 91.3%, 13.53%) and in OKLCH oklch(23.939% 0.07595 256.564).

### What colors go well with #031e42?

The complementary color of #031e42 is #311900. For a calmer combination use the analogous colors #002438 and #1e1741. The triadic partners are #3b0a12 and #0b2700.

### Is white or black text more readable on #031e42?

White text reads better on #031e42: white gives a contrast ratio of 16.56:1 and black gives 1.27:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #031e42 a warm or cool color?

#031e42 is a cool color. In OKLCH its hue is 257 degrees, its lightness 23.9% and its chroma 0.076.
