# #12041c color: Election Night

#12041c is rgb(18, 4, 28) in RGB and oklch(15.066% 0.0541 309.399) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #12041c |
| RGB | rgb(18, 4, 28) |
| HSL | hsl(275, 75%, 6.27%) |
| HSB / HSV | hsv(275 85.71% 10.98%) |
| HWB | hwb(275 1.57% 89.02%) |
| CMYK | cmyk(36% 86% 0% 89%) |
| Lab | lab(2.64 7.88 -11.37) |
| LCH | lch(2.64 13.84 304.7) |
| OKLab | oklab(15.066% 0.03434 -0.04181) |
| OKLCH | oklch(15.066% 0.0541 309.399) |
| Display P3 | color(display-p3 0.06283 0.01776 0.10468) |
| Rec. 2020 | color(rec2020 0.02114 0.0075 0.04773) |
| Adobe RGB | color(a98-rgb 0.08715 0.04723 0.12962) |
| ProPhoto RGB | color(prophoto-rgb 0.05404 0.03151 0.07869) |
| Linear sRGB | color(srgb-linear 0.00605 0.00121 0.01161) |
| XYZ D65 | color(xyz-d65 0.00502 0.00299 0.0113) |
| XYZ D50 | color(xyz-d50 0.00477 0.00292 0.00849) |
| SwiftUI | Color(red: 0.071, green: 0.016, blue: 0.11) |
| UIKit | UIColor(red: 0.071, green: 0.016, blue: 0.11, alpha: 1) |
| Flutter / Compose | Color(0xFF12041C) |
| Android XML | #12041C |

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

## Tints

#12041c, #25172f, #3a2d44, #4f4459, #665c6f, #7e7585, #968f9d, #afaab4, #c9c5cd, #e4e2e6

## Shades

#12041c, #0e0317, #0a0212, #07010d, #040108, #020105, #010002, #010001, #000000, #000000

## Tones

#12041c, #11051a, #110619, #100717, #0f0716, #0f0814, #0e0912, #0d0911, #0d0a0f, #0c0b0d

## Harmonies

- Complementary: #12041c, #050f00
- Split: #12041c, #110b00, #001104
- Analogous: #12041c, #080721, #190212
- Triadic: #12041c, #190600, #00110f
- Tetradic: #12041c, #1d0107, #050f00, #00110f
- Square: #12041c, #1d0200, #050f00, #000f19
- Monochromatic: #12041c, #0b0115, #0b0115, #2e1f3a, #4e3d5b

## Questions about #12041c

### What color is #12041c?

#12041c is black. The closest named color is Election Night. In RGB it is rgb(18, 4, 28), in HSL hsl(275, 75%, 6.27%) and in OKLCH oklch(15.066% 0.0541 309.399).

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

The complementary color of #12041c is #050f00. For a calmer combination use the analogous colors #080721 and #190212. The triadic partners are #190600 and #00110f.

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

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

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

#12041c is a neutral color. In OKLCH its hue is 309 degrees, its lightness 15.1% and its chroma 0.054.
