# #0c041e color: Election Night

#0c041e is rgb(12, 4, 30) in RGB and oklch(14.34% 0.0556 294.282) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c041e |
| RGB | rgb(12, 4, 30) |
| HSL | hsl(258.46, 76.47%, 6.67%) |
| HSB / HSV | hsv(258.46 86.67% 11.76%) |
| HWB | hwb(258.46 1.57% 88.24%) |
| CMYK | cmyk(60% 87% 0% 88%) |
| Lab | lab(2.24 6.22 -13.63) |
| LCH | lch(2.24 14.98 294.55) |
| OKLab | oklab(14.34% 0.02287 -0.05069) |
| OKLCH | oklch(14.34% 0.0556 294.282) |
| Display P3 | color(display-p3 0.04181 0.01674 0.11191) |
| Rec. 2020 | color(rec2020 0.01471 0.00683 0.05308) |
| Adobe RGB | color(a98-rgb 0.07099 0.04723 0.13634) |
| ProPhoto RGB | color(prophoto-rgb 0.04764 0.0286 0.08344) |
| Linear sRGB | color(srgb-linear 0.00368 0.00121 0.01298) |
| XYZ D65 | color(xyz-d65 0.00429 0.00259 0.01256) |
| XYZ D50 | color(xyz-d50 0.00393 0.00248 0.00944) |
| SwiftUI | Color(red: 0.047, green: 0.016, blue: 0.118) |
| UIKit | UIColor(red: 0.047, green: 0.016, blue: 0.118, alpha: 1) |
| Flutter / Compose | Color(0xFF0C041E) |
| Android XML | #0C041E |

## 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: 19.97:1
- Contrast with black: 1.05:1

## Tints

#0c041e, #1e1732, #332d46, #49445b, #605c71, #787587, #928f9e, #acaab6, #c7c6ce, #e3e2e6

## Shades

#0c041e, #090319, #060213, #04010e, #030109, #020105, #010003, #000001, #000000, #000000

## Tones

#0c041e, #0c051c, #0b061a, #0b0618, #0b0716, #0b0714, #0a0812, #0a0810, #0a090e, #0a090c

## Harmonies

- Complementary: #0c041e, #0a0b00
- Split: #0c041e, #130700, #000f00
- Analogous: #0c041e, #020720, #140216
- Triadic: #0c041e, #1a0200, #001008
- Tetradic: #0c041e, #1a010b, #0a0b00, #001008
- Square: #0c041e, #1c0001, #0a0b00, #000e12
- Monochromatic: #0c041e, #080118, #080118, #271f3d, #453d5e

## Questions about #0c041e

### What color is #0c041e?

#0c041e is black. The closest named color is Election Night. In RGB it is rgb(12, 4, 30), in HSL hsl(258.46, 76.47%, 6.67%) and in OKLCH oklch(14.34% 0.0556 294.282).

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

The complementary color of #0c041e is #0a0b00. For a calmer combination use the analogous colors #020720 and #140216. The triadic partners are #1a0200 and #001008.

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

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

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

#0c041e is a cool color. In OKLCH its hue is 294 degrees, its lightness 14.3% and its chroma 0.056.
