# #12041b color: Election Night

#12041b is rgb(18, 4, 27) in RGB and oklch(14.975% 0.05267 310.807) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #12041b |
| RGB | rgb(18, 4, 27) |
| HSL | hsl(276.52, 74.19%, 6.08%) |
| HSB / HSV | hsv(276.52 85.19% 10.59%) |
| HWB | hwb(276.52 1.57% 89.41%) |
| CMYK | cmyk(33% 85% 0% 89%) |
| Lab | lab(2.6 7.65 -10.63) |
| LCH | lch(2.6 13.1 305.77) |
| OKLab | oklab(14.975% 0.03442 -0.03987) |
| OKLCH | oklch(14.975% 0.05267 310.807) |
| Display P3 | color(display-p3 0.06283 0.01776 0.10095) |
| Rec. 2020 | color(rec2020 0.02101 0.00747 0.0451) |
| Adobe RGB | color(a98-rgb 0.08715 0.04723 0.12628) |
| ProPhoto RGB | color(prophoto-rgb 0.05351 0.03135 0.07626) |
| Linear sRGB | color(srgb-linear 0.00605 0.00121 0.01096) |
| XYZ D65 | color(xyz-d65 0.00491 0.00295 0.01068) |
| XYZ D50 | color(xyz-d50 0.00467 0.00288 0.00803) |
| SwiftUI | Color(red: 0.071, green: 0.016, blue: 0.106) |
| UIKit | UIColor(red: 0.071, green: 0.016, blue: 0.106, alpha: 1) |
| Flutter / Compose | Color(0xFF12041B) |
| Android XML | #12041B |

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

## Tints

#12041b, #25172e, #3a2d43, #4f4458, #665c6e, #7e7585, #968f9c, #afaab4, #c9c5cc, #e4e2e5

## Shades

#12041b, #0e0316, #0a0211, #07010c, #040108, #020105, #010002, #010001, #000000, #000000

## Tones

#12041b, #110519, #110618, #100616, #0f0715, #0f0813, #0e0912, #0d0910, #0c0a0e, #0c0a0d

## Harmonies

- Complementary: #12041b, #040f00
- Split: #12041b, #100b00, #001104
- Analogous: #12041b, #080720, #190212
- Triadic: #12041b, #180600, #001010
- Tetradic: #12041b, #1c0106, #040f00, #001010
- Square: #12041b, #1c0300, #040f00, #000f19
- Monochromatic: #12041b, #0c0114, #0c0114, #2f1e39, #4e3d5a

## Questions about #12041b

### What color is #12041b?

#12041b is black. The closest named color is Election Night. In RGB it is rgb(18, 4, 27), in HSL hsl(276.52, 74.19%, 6.08%) and in OKLCH oklch(14.975% 0.05267 310.807).

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

The complementary color of #12041b is #040f00. For a calmer combination use the analogous colors #080720 and #190212. The triadic partners are #180600 and #001010.

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

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

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

#12041b is a neutral color. In OKLCH its hue is 311 degrees, its lightness 15% and its chroma 0.053.
