# #0c2040 color: Dark Eclipse

#0c2040 is rgb(12, 32, 64) in RGB and oklch(24.716% 0.0662 259.432) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c2040 |
| RGB | rgb(12, 32, 64) |
| HSL | hsl(216.92, 68.42%, 14.9%) |
| HSB / HSV | hsv(216.92 81.25% 25.1%) |
| HWB | hwb(216.92 4.71% 74.9%) |
| CMYK | cmyk(81% 50% 0% 75%) |
| Lab | lab(12.14 2.11 -23.21) |
| LCH | lch(12.14 23.3 275.2) |
| OKLab | oklab(24.716% -0.01214 -0.06508) |
| OKLCH | oklch(24.716% 0.0662 259.432) |
| Display P3 | color(display-p3 0.06651 0.12362 0.24215) |
| Rec. 2020 | color(rec2020 0.04178 0.06353 0.17905) |
| Adobe RGB | color(a98-rgb 0.10299 0.14561 0.25553) |
| ProPhoto RGB | color(prophoto-rgb 0.09305 0.09489 0.18104) |
| Linear sRGB | color(srgb-linear 0.00368 0.01444 0.05127) |
| XYZ D65 | color(xyz-d65 0.01593 0.01481 0.05053) |
| XYZ D50 | color(xyz-d50 0.0145 0.01428 0.03806) |
| SwiftUI | Color(red: 0.047, green: 0.125, blue: 0.251) |
| UIKit | UIColor(red: 0.047, green: 0.125, blue: 0.251, alpha: 1) |
| Flutter / Compose | Color(0xFF0C2040) |
| Android XML | #0C2040 |

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

## Tints

#0c2040, #213352, #364864, #4c5c76, #637289, #7c889c, #949faf, #aeb6c3, #c8ced6, #e3e6eb

## Shades

#0c2040, #091a36, #06152d, #040f24, #030a1b, #020613, #01030b, #000105, #000001, #000000

## Tones

#0c2040, #0f203d, #11213a, #132137, #152134, #172131, #19212e, #1b212b, #1d2127, #1f2124

## Harmonies

- Complementary: #0c2040, #311c00
- Split: #0c2040, #391500, #242300
- Analogous: #0c2040, #00263a, #211a3e
- Triadic: #0c2040, #3b1114, #0d2806
- Tetradic: #0c2040, #2e1534, #311c00, #0d2806
- Square: #0c2040, #371126, #311c00, #002a1c
- Monochromatic: #0c2040, #00031f, #000420, #293f62, #496085

## Questions about #0c2040

### What color is #0c2040?

#0c2040 is soft very dark blue. The closest named color is Dark Eclipse. In RGB it is rgb(12, 32, 64), in HSL hsl(216.92, 68.42%, 14.9%) and in OKLCH oklch(24.716% 0.0662 259.432).

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

The complementary color of #0c2040 is #311c00. For a calmer combination use the analogous colors #00263a and #211a3e. The triadic partners are #3b1114 and #0d2806.

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

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

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

#0c2040 is a cool color. In OKLCH its hue is 259 degrees, its lightness 24.7% and its chroma 0.066.
