# #0c1f42 color: Dark Eclipse

#0c1f42 is rgb(12, 31, 66) in RGB and oklch(24.616% 0.07093 261.375) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c1f42 |
| RGB | rgb(12, 31, 66) |
| HSL | hsl(218.89, 69.23%, 15.29%) |
| HSB / HSV | hsv(218.89 81.82% 25.88%) |
| HWB | hwb(218.89 4.71% 74.12%) |
| CMYK | cmyk(82% 53% 0% 74%) |
| Lab | lab(11.92 3.56 -24.96) |
| LCH | lch(11.92 25.21 278.12) |
| OKLab | oklab(24.616% -0.01064 -0.07013) |
| OKLCH | oklch(24.616% 0.07093 261.375) |
| Display P3 | color(display-p3 0.06531 0.11977 0.24946) |
| Rec. 2020 | color(rec2020 0.0413 0.06063 0.18638) |
| Adobe RGB | color(a98-rgb 0.10151 0.14216 0.26253) |
| ProPhoto RGB | color(prophoto-rgb 0.09381 0.09284 0.18684) |
| Linear sRGB | color(srgb-linear 0.00368 0.0137 0.05448) |
| XYZ D65 | color(xyz-d65 0.01625 0.01451 0.05349) |
| XYZ D50 | color(xyz-d50 0.01468 0.01394 0.04029) |
| SwiftUI | Color(red: 0.047, green: 0.122, blue: 0.259) |
| UIKit | UIColor(red: 0.047, green: 0.122, blue: 0.259, alpha: 1) |
| Flutter / Compose | Color(0xFF0C1F42) |
| Android XML | #0C1F42 |

## Facts

- Closest name: Dark Eclipse
- 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.28:1
- Contrast with black: 1.29:1

## Tints

#0c1f42, #203354, #364766, #4c5c78, #63718a, #7b889d, #949eb0, #aeb6c3, #c8ced7, #e3e6eb

## Shades

#0c1f42, #091938, #06142f, #040f25, #030a1c, #020614, #01030b, #000105, #000001, #000000

## Tones

#0c1f42, #0e203f, #11203c, #132038, #152135, #172132, #19212e, #1b212b, #1d2128, #1f2124

## Harmonies

- Complementary: #0c1f42, #311c00
- Split: #0c1f42, #3a1400, #222300
- Analogous: #0c1f42, #00253c, #22193f
- Triadic: #0c1f42, #3c0f11, #082805
- Tetradic: #0c1f42, #301335, #311c00, #082805
- Square: #0c1f42, #380f25, #311c00, #002b1c
- Monochromatic: #0c1f42, #000220, #000322, #293e64, #495f88

## Questions about #0c1f42

### What color is #0c1f42?

#0c1f42 is soft very dark blue. The closest named color is Dark Eclipse. In RGB it is rgb(12, 31, 66), in HSL hsl(218.89, 69.23%, 15.29%) and in OKLCH oklch(24.616% 0.07093 261.375).

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

The complementary color of #0c1f42 is #311c00. For a calmer combination use the analogous colors #00253c and #22193f. The triadic partners are #3c0f11 and #082805.

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

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

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

#0c1f42 is a cool color. In OKLCH its hue is 261 degrees, its lightness 24.6% and its chroma 0.071.
