# #12041d color: Election Night

#12041d is rgb(18, 4, 29) in RGB and oklch(15.16% 0.05553 308.056) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #12041d |
| RGB | rgb(18, 4, 29) |
| HSL | hsl(273.6, 75.76%, 6.47%) |
| HSB / HSV | hsv(273.6 86.21% 11.37%) |
| HWB | hwb(273.6 1.57% 88.63%) |
| CMYK | cmyk(38% 86% 0% 89%) |
| Lab | lab(2.67 8.11 -12.12) |
| LCH | lch(2.67 14.58 303.79) |
| OKLab | oklab(15.16% 0.03423 -0.04373) |
| OKLCH | oklch(15.16% 0.05553 308.056) |
| Display P3 | color(display-p3 0.06283 0.01776 0.10841) |
| Rec. 2020 | color(rec2020 0.02127 0.00753 0.05044) |
| Adobe RGB | color(a98-rgb 0.08715 0.04723 0.13298) |
| ProPhoto RGB | color(prophoto-rgb 0.05458 0.03168 0.08113) |
| Linear sRGB | color(srgb-linear 0.00605 0.00121 0.01229) |
| XYZ D65 | color(xyz-d65 0.00515 0.00304 0.01194) |
| XYZ D50 | color(xyz-d50 0.00486 0.00296 0.00898) |
| SwiftUI | Color(red: 0.071, green: 0.016, blue: 0.114) |
| UIKit | UIColor(red: 0.071, green: 0.016, blue: 0.114, alpha: 1) |
| Flutter / Compose | Color(0xFF12041D) |
| Android XML | #12041D |

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

## Tints

#12041d, #251730, #392d45, #4f445a, #665c70, #7e7586, #968f9d, #afaab5, #c9c6cd, #e4e2e6

## Shades

#12041d, #0e0318, #0a0213, #07010e, #040109, #020105, #010003, #010001, #000000, #000000

## Tones

#12041d, #11051b, #11061a, #100718, #0f0716, #0f0814, #0e0913, #0d0a11, #0d0a0f, #0c0b0d

## Harmonies

- Complementary: #12041d, #050f00
- Split: #12041d, #110b00, #001203
- Analogous: #12041d, #070722, #190213
- Triadic: #12041d, #190600, #00110f
- Tetradic: #12041d, #1d0107, #050f00, #00110f
- Square: #12041d, #1d0200, #050f00, #000f19
- Monochromatic: #12041d, #0b0115, #0b0115, #2e1f3c, #4e3d5d

## Questions about #12041d

### What color is #12041d?

#12041d is black. The closest named color is Election Night. In RGB it is rgb(18, 4, 29), in HSL hsl(273.6, 75.76%, 6.47%) and in OKLCH oklch(15.16% 0.05553 308.056).

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

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

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

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

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

#12041d is a neutral color. In OKLCH its hue is 308 degrees, its lightness 15.2% and its chroma 0.056.
