# #031f41 color: Midnight Mirage

#031f41 is rgb(3, 31, 65) in RGB and oklch(24.122% 0.07295 255.129) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #031f41 |
| RGB | rgb(3, 31, 65) |
| HSL | hsl(212.9, 91.18%, 13.33%) |
| HSB / HSV | hsv(212.9 95.38% 25.49%) |
| HWB | hwb(212.9 1.18% 74.51%) |
| CMYK | cmyk(95% 52% 0% 75%) |
| Lab | lab(11.44 1.47 -25.07) |
| LCH | lch(11.44 25.11 273.35) |
| OKLab | oklab(24.122% -0.01872 -0.0705) |
| OKLCH | oklch(24.122% 0.07295 255.129) |
| Display P3 | color(display-p3 0.04109 0.11927 0.24561) |
| Rec. 2020 | color(rec2020 0.03318 0.05968 0.18251) |
| Adobe RGB | color(a98-rgb 0.08615 0.14216 0.25899) |
| ProPhoto RGB | color(prophoto-rgb 0.0874 0.09165 0.18374) |
| Linear sRGB | color(srgb-linear 0.00091 0.0137 0.05286) |
| XYZ D65 | color(xyz-d65 0.01482 0.01381 0.0519) |
| XYZ D50 | color(xyz-d50 0.01324 0.01323 0.03909) |
| SwiftUI | Color(red: 0.012, green: 0.122, blue: 0.255) |
| UIKit | UIColor(red: 0.012, green: 0.122, blue: 0.255, alpha: 1) |
| Flutter / Compose | Color(0xFF031F41) |
| Android XML | #031F41 |

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

## Tints

#031f41, #193353, #304765, #475c77, #5f728a, #78889d, #929fb0, #acb6c3, #c7ced7, #e3e6eb

## Shades

#031f41, #021937, #02142e, #010f25, #010a1c, #000613, #00030b, #000105, #000001, #000000

## Tones

#031f41, #061f3e, #0a203a, #0d2037, #112034, #132031, #16202d, #19202a, #1b2027, #1d2023

## Harmonies

- Complementary: #031f41, #321900
- Split: #031f41, #3a1000, #252000
- Analogous: #031f41, #002537, #1d1840
- Triadic: #031f41, #3b0c14, #0e2700
- Tetradic: #031f41, #2c1237, #321900, #0e2700
- Square: #031f41, #360e27, #321900, #002a17
- Monochromatic: #031f41, #000321, #000321, #213e63, #416087

## Questions about #031f41

### What color is #031f41?

#031f41 is soft very dark blue. The closest named color is Midnight Mirage. In RGB it is rgb(3, 31, 65), in HSL hsl(212.9, 91.18%, 13.33%) and in OKLCH oklch(24.122% 0.07295 255.129).

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

The complementary color of #031f41 is #321900. For a calmer combination use the analogous colors #002537 and #1d1840. The triadic partners are #3b0c14 and #0e2700.

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

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

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

#031f41 is a cool color. In OKLCH its hue is 255 degrees, its lightness 24.1% and its chroma 0.073.
