# #0c041b color: Election Night

#0c041b is rgb(12, 4, 27) in RGB and oklch(14.024% 0.05077 297.393) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c041b |
| RGB | rgb(12, 4, 27) |
| HSL | hsl(260.87, 74.19%, 6.08%) |
| HSB / HSV | hsv(260.87 85.19% 10.59%) |
| HWB | hwb(260.87 1.57% 89.41%) |
| CMYK | cmyk(56% 85% 0% 89%) |
| Lab | lab(2.13 5.53 -11.39) |
| LCH | lch(2.13 12.66 295.91) |
| OKLab | oklab(14.024% 0.02336 -0.04507) |
| OKLCH | oklch(14.024% 0.05077 297.393) |
| Display P3 | color(display-p3 0.04181 0.01674 0.10069) |
| Rec. 2020 | color(rec2020 0.01432 0.00673 0.04492) |
| Adobe RGB | color(a98-rgb 0.07099 0.04723 0.12628) |
| ProPhoto RGB | color(prophoto-rgb 0.04581 0.02769 0.07609) |
| Linear sRGB | color(srgb-linear 0.00368 0.00121 0.01096) |
| XYZ D65 | color(xyz-d65 0.00393 0.00244 0.01063) |
| XYZ D50 | color(xyz-d50 0.00364 0.00235 0.008) |
| SwiftUI | Color(red: 0.047, green: 0.016, blue: 0.106) |
| UIKit | UIColor(red: 0.047, green: 0.016, blue: 0.106, alpha: 1) |
| Flutter / Compose | Color(0xFF0C041B) |
| Android XML | #0C041B |

## Facts

- Closest name: Election Night
- Hue family: Black, black
- Closest Tailwind class: slate-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 20.02:1
- Contrast with black: 1.05:1

## Tints

#0c041b, #1f172f, #332c43, #494358, #605b6e, #797585, #928f9c, #acaab4, #c7c5cd, #e3e2e6

## Shades

#0c041b, #090316, #060211, #04010c, #030108, #020105, #010002, #000001, #000000, #000000

## Tones

#0c041b, #0c0519, #0b0518, #0b0616, #0b0614, #0a0712, #0a0711, #0a080f, #0a080d, #09090b

## Harmonies

- Complementary: #0c041b, #080b00
- Split: #0c041b, #110700, #000e00
- Analogous: #0c041b, #03071e, #130214
- Triadic: #0c041b, #180300, #000f09
- Tetradic: #0c041b, #180109, #080b00, #000f09
- Square: #0c041b, #190101, #080b00, #000d12
- Monochromatic: #0c041b, #080216, #080216, #271e39, #453d5a

## Questions about #0c041b

### What color is #0c041b?

#0c041b is black. The closest named color is Election Night. In RGB it is rgb(12, 4, 27), in HSL hsl(260.87, 74.19%, 6.08%) and in OKLCH oklch(14.024% 0.05077 297.393).

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

The complementary color of #0c041b is #080b00. For a calmer combination use the analogous colors #03071e and #130214. The triadic partners are #180300 and #000f09.

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

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

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

#0c041b is a cool color. In OKLCH its hue is 297 degrees, its lightness 14% and its chroma 0.051.
