# #0d1c40 color: Midnight Mirage

#0d1c40 is rgb(13, 28, 64) in RGB and oklch(23.724% 0.07165 264.537) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/0d1c40

## Formats

| Format | Value |
| --- | --- |
| HEX | #0d1c40 |
| RGB | rgb(13, 28, 64) |
| HSL | hsl(222.35, 66.23%, 15.1%) |
| HSB / HSV | hsv(222.35 79.69% 25.1%) |
| HWB | hwb(222.35 5.1% 74.9%) |
| CMYK | cmyk(80% 56% 0% 75%) |
| Lab | lab(10.8 5.19 -25.36) |
| LCH | lch(10.8 25.88 281.56) |
| OKLab | oklab(23.724% -0.00682 -0.07132) |
| OKLCH | oklch(23.724% 0.07165 264.537) |
| Display P3 | color(display-p3 0.06453 0.10831 0.24163) |
| Rec. 2020 | color(rec2020 0.03856 0.05192 0.1784) |
| Adobe RGB | color(a98-rgb 0.09903 0.13186 0.25525) |
| ProPhoto RGB | color(prophoto-rgb 0.09023 0.08561 0.18033) |
| Linear sRGB | color(srgb-linear 0.00402 0.01161 0.05127) |
| XYZ D65 | color(xyz-d65 0.01507 0.01286 0.0502) |
| XYZ D50 | color(xyz-d50 0.01356 0.01233 0.03779) |
| SwiftUI | Color(red: 0.051, green: 0.11, blue: 0.251) |
| UIKit | UIColor(red: 0.051, green: 0.11, blue: 0.251, alpha: 1) |
| Flutter / Compose | Color(0xFF0D1C40) |
| Android XML | #0D1C40 |

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

## Tints

#0d1c40, #213052, #364464, #4c5a76, #636f89, #7b869c, #949daf, #aeb5c3, #c8cdd7, #e3e6eb

## Shades

#0d1c40, #0a1736, #07122d, #050d24, #03081b, #020513, #01020b, #000105, #000001, #000000

## Tones

#0d1c40, #0f1d3d, #111d3a, #131e36, #141e33, #161e30, #181e2c, #1a1f29, #1b1f26, #1d1f22

## Harmonies

- Complementary: #0d1c40, #2d1b00
- Split: #0d1c40, #371200, #1e2200
- Analogous: #0d1c40, #00223b, #22163c
- Triadic: #0d1c40, #3a0c0c, #022705
- Tetradic: #0d1c40, #2f1031, #2d1b00, #022705
- Square: #0d1c40, #370c21, #2d1b00, #00281c
- Monochromatic: #0d1c40, #000221, #000221, #293b62, #495c86

## Questions about #0d1c40

### What color is #0d1c40?

#0d1c40 is soft very dark blue. The closest named color is Midnight Mirage. In RGB it is rgb(13, 28, 64), in HSL hsl(222.35, 66.23%, 15.1%) and in OKLCH oklch(23.724% 0.07165 264.537).

### What colors go well with #0d1c40?

The complementary color of #0d1c40 is #2d1b00. For a calmer combination use the analogous colors #00223b and #22163c. The triadic partners are #3a0c0c and #022705.

### Is white or black text more readable on #0d1c40?

White text reads better on #0d1c40: white gives a contrast ratio of 16.7:1 and black gives 1.26:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #0d1c40 a warm or cool color?

#0d1c40 is a cool color. In OKLCH its hue is 265 degrees, its lightness 23.7% and its chroma 0.072.
