# #041f40 color: Midnight Mirage

#041f40 is rgb(4, 31, 64) in RGB and oklch(24.083% 0.0709 255.259) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #041f40 |
| RGB | rgb(4, 31, 64) |
| HSL | hsl(213, 88.24%, 13.33%) |
| HSB / HSV | hsv(213 93.75% 25.1%) |
| HWB | hwb(213 1.57% 74.9%) |
| CMYK | cmyk(94% 52% 0% 75%) |
| Lab | lab(11.42 1.26 -24.4) |
| LCH | lch(11.42 24.43 272.97) |
| OKLab | oklab(24.083% -0.01804 -0.06857) |
| OKLCH | oklch(24.083% 0.0709 255.259) |
| Display P3 | color(display-p3 0.04416 0.11932 0.2419) |
| Rec. 2020 | color(rec2020 0.03372 0.0597 0.17877) |
| Adobe RGB | color(a98-rgb 0.088 0.14216 0.25546) |
| ProPhoto RGB | color(prophoto-rgb 0.08715 0.09159 0.18076) |
| Linear sRGB | color(srgb-linear 0.00121 0.0137 0.05127) |
| XYZ D65 | color(xyz-d65 0.01465 0.01376 0.05039) |
| XYZ D50 | color(xyz-d50 0.01314 0.0132 0.03796) |
| SwiftUI | Color(red: 0.016, green: 0.122, blue: 0.251) |
| UIKit | UIColor(red: 0.016, green: 0.122, blue: 0.251, alpha: 1) |
| Flutter / Compose | Color(0xFF041F40) |
| Android XML | #041F40 |

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

## Tints

#041f40, #1a3352, #314764, #485c76, #607189, #78889c, #929faf, #acb6c3, #c7ced7, #e3e6eb

## Shades

#041f40, #031936, #02142d, #010f24, #010a1b, #000613, #00030b, #000105, #000001, #000000

## Tones

#041f40, #071f3d, #0b203a, #0e2036, #112033, #142030, #16202d, #19202a, #1b2026, #1d2023

## Harmonies

- Complementary: #041f40, #321900
- Split: #041f40, #391100, #252000
- Analogous: #041f40, #002537, #1d183f
- Triadic: #041f40, #3a0d14, #0f2600
- Tetradic: #041f40, #2c1336, #321900, #0f2600
- Square: #041f40, #360e27, #321900, #002917
- Monochromatic: #041f40, #000320, #000320, #223e62, #425f85

## Questions about #041f40

### What color is #041f40?

#041f40 is soft very dark blue. The closest named color is Midnight Mirage. In RGB it is rgb(4, 31, 64), in HSL hsl(213, 88.24%, 13.33%) and in OKLCH oklch(24.083% 0.0709 255.259).

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

The complementary color of #041f40 is #321900. For a calmer combination use the analogous colors #002537 and #1d183f. The triadic partners are #3a0d14 and #0f2600.

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

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

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

#041f40 is a cool color. In OKLCH its hue is 255 degrees, its lightness 24.1% and its chroma 0.071.
