# #0c1d42 color: Midnight Mirage

#0c1d42 is rgb(12, 29, 66) in RGB and oklch(24.1% 0.07386 263.351) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c1d42 |
| RGB | rgb(12, 29, 66) |
| HSL | hsl(221.11, 69.23%, 15.29%) |
| HSB / HSV | hsv(221.11 81.82% 25.88%) |
| HWB | hwb(221.11 4.71% 74.12%) |
| CMYK | cmyk(82% 56% 0% 74%) |
| Lab | lab(11.23 5 -26.08) |
| LCH | lch(11.23 26.55 280.86) |
| OKLab | oklab(24.1% -0.00855 -0.07337) |
| OKLCH | oklch(24.1% 0.07386 263.351) |
| Display P3 | color(display-p3 0.06297 0.11208 0.2492) |
| Rec. 2020 | color(rec2020 0.0392 0.05477 0.18606) |
| Adobe RGB | color(a98-rgb 0.09861 0.13528 0.2624) |
| ProPhoto RGB | color(prophoto-rgb 0.09208 0.08814 0.18648) |
| Linear sRGB | color(srgb-linear 0.00368 0.01229 0.05448) |
| XYZ D65 | color(xyz-d65 0.01574 0.0135 0.05332) |
| XYZ D50 | color(xyz-d50 0.01413 0.01293 0.04015) |
| SwiftUI | Color(red: 0.047, green: 0.114, blue: 0.259) |
| UIKit | UIColor(red: 0.047, green: 0.114, blue: 0.259, alpha: 1) |
| Flutter / Compose | Color(0xFF0C1D42) |
| Android XML | #0C1D42 |

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

## Tints

#0c1d42, #203154, #354566, #4b5a78, #63708a, #7b879d, #949eb0, #aeb5c4, #c8cdd7, #e3e6eb

## Shades

#0c1d42, #091838, #06132f, #040e25, #03091c, #020514, #01030b, #000105, #000001, #000000

## Tones

#0c1d42, #0e1e3f, #101e3b, #121f38, #141f35, #161f31, #181f2e, #1a202a, #1c2027, #1e2023

## Harmonies

- Complementary: #0c1d42, #2f1b00
- Split: #0c1d42, #391200, #202200
- Analogous: #0c1d42, #00243c, #22163f
- Triadic: #0c1d42, #3c0c0e, #032804
- Tetradic: #0c1d42, #301133, #2f1b00, #032804
- Square: #0c1d42, #380c22, #2f1b00, #00291d
- Monochromatic: #0c1d42, #000122, #000222, #293c64, #485d88

## Questions about #0c1d42

### What color is #0c1d42?

#0c1d42 is soft very dark blue. The closest named color is Midnight Mirage. In RGB it is rgb(12, 29, 66), in HSL hsl(221.11, 69.23%, 15.29%) and in OKLCH oklch(24.1% 0.07386 263.351).

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

The complementary color of #0c1d42 is #2f1b00. For a calmer combination use the analogous colors #00243c and #22163f. The triadic partners are #3c0c0e and #032804.

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

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

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

#0c1d42 is a cool color. In OKLCH its hue is 263 degrees, its lightness 24.1% and its chroma 0.074.
