# #12041e color: Election Night

#12041e is rgb(18, 4, 30) in RGB and oklch(15.255% 0.05697 306.772) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/12041e

## Formats

| Format | Value |
| --- | --- |
| HEX | #12041e |
| RGB | rgb(18, 4, 30) |
| HSL | hsl(272.31, 76.47%, 6.67%) |
| HSB / HSV | hsv(272.31 86.67% 11.76%) |
| HWB | hwb(272.31 1.57% 88.24%) |
| CMYK | cmyk(40% 87% 0% 88%) |
| Lab | lab(2.71 8.35 -12.86) |
| LCH | lch(2.71 15.33 302.99) |
| OKLab | oklab(15.255% 0.0341 -0.04563) |
| OKLCH | oklch(15.255% 0.05697 306.772) |
| Display P3 | color(display-p3 0.06283 0.01776 0.11215) |
| Rec. 2020 | color(rec2020 0.02141 0.00757 0.05325) |
| Adobe RGB | color(a98-rgb 0.08715 0.04723 0.13634) |
| ProPhoto RGB | color(prophoto-rgb 0.05514 0.03185 0.0836) |
| Linear sRGB | color(srgb-linear 0.00605 0.00121 0.01298) |
| XYZ D65 | color(xyz-d65 0.00527 0.00309 0.0126) |
| XYZ D50 | color(xyz-d50 0.00496 0.003 0.00947) |
| SwiftUI | Color(red: 0.071, green: 0.016, blue: 0.118) |
| UIKit | UIColor(red: 0.071, green: 0.016, blue: 0.118, alpha: 1) |
| Flutter / Compose | Color(0xFF12041E) |
| Android XML | #12041E |

## 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.78:1
- Contrast with black: 1.06:1

## Tints

#12041e, #251731, #392d46, #4f445b, #665c70, #7d7587, #968f9e, #afaab5, #c9c6cd, #e4e2e6

## Shades

#12041e, #0e0319, #0a0213, #07010e, #040109, #020005, #010003, #010001, #000000, #000000

## Tones

#12041e, #11051c, #11061a, #100719, #0f0817, #0f0815, #0e0913, #0e0a11, #0d0a10, #0c0b0e

## Harmonies

- Complementary: #12041e, #060f00
- Split: #12041e, #120b00, #001203
- Analogous: #12041e, #070723, #190214
- Triadic: #12041e, #1a0600, #00110f
- Tetradic: #12041e, #1e0108, #060f00, #00110f
- Square: #12041e, #1e0200, #060f00, #001019
- Monochromatic: #12041e, #0b0116, #0b0116, #2e1f3d, #4e3d5e

## Questions about #12041e

### What color is #12041e?

#12041e is black. The closest named color is Election Night. In RGB it is rgb(18, 4, 30), in HSL hsl(272.31, 76.47%, 6.67%) and in OKLCH oklch(15.255% 0.05697 306.772).

### What colors go well with #12041e?

The complementary color of #12041e is #060f00. For a calmer combination use the analogous colors #070723 and #190214. The triadic partners are #1a0600 and #00110f.

### Is white or black text more readable on #12041e?

White text reads better on #12041e: white gives a contrast ratio of 19.78:1 and black gives 1.06:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #12041e a warm or cool color?

#12041e is a neutral color. In OKLCH its hue is 307 degrees, its lightness 15.3% and its chroma 0.057.
