# #0f031b color: Election Night

#0f031b is rgb(15, 3, 27) in RGB and oklch(14.16% 0.05484 305.444) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0f031b |
| RGB | rgb(15, 3, 27) |
| HSL | hsl(270, 80%, 5.88%) |
| HSB / HSV | hsv(270 88.89% 10.59%) |
| HWB | hwb(270 1.18% 89.41%) |
| CMYK | cmyk(44% 89% 0% 89%) |
| Lab | lab(2.15 6.89 -11.32) |
| LCH | lch(2.15 13.25 301.33) |
| OKLab | oklab(14.16% 0.0318 -0.04468) |
| OKLCH | oklch(14.16% 0.05484 305.444) |
| Display P3 | color(display-p3 0.0517 0.01342 0.10067) |
| Rec. 2020 | color(rec2020 0.01697 0.00581 0.04488) |
| Adobe RGB | color(a98-rgb 0.07815 0.04144 0.12621) |
| ProPhoto RGB | color(prophoto-rgb 0.04888 0.02518 0.07601) |
| Linear sRGB | color(srgb-linear 0.00478 0.00091 0.01096) |
| XYZ D65 | color(xyz-d65 0.00427 0.00246 0.01062) |
| XYZ D50 | color(xyz-d50 0.004 0.00238 0.00798) |
| SwiftUI | Color(red: 0.059, green: 0.012, blue: 0.106) |
| UIKit | UIColor(red: 0.059, green: 0.012, blue: 0.106, alpha: 1) |
| Flutter / Compose | Color(0xFF0F031B) |
| Android XML | #0F031B |

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

## Tints

#0f031b, #22162f, #362b43, #4c4258, #635b6e, #7b7485, #948e9c, #aea9b4, #c8c5cd, #e3e2e6

## Shades

#0f031b, #0b0216, #080211, #05010c, #030108, #020005, #010002, #000001, #000000, #000000

## Tones

#0f031b, #0e0419, #0e0518, #0d0516, #0d0614, #0c0712, #0c0711, #0b080f, #0a080d, #0a090b

## Harmonies

- Complementary: #0f031b, #050d00
- Split: #0f031b, #100800, #000f02
- Analogous: #0f031b, #05061f, #160112
- Triadic: #0f031b, #170400, #000f0c
- Tetradic: #0f031b, #1a0007, #050d00, #000f0c
- Square: #0f031b, #1b0100, #050d00, #000d15
- Monochromatic: #0f031b, #0a0116, #0a0116, #2b1d39, #4a3b5a

## Questions about #0f031b

### What color is #0f031b?

#0f031b is black. The closest named color is Election Night. In RGB it is rgb(15, 3, 27), in HSL hsl(270, 80%, 5.88%) and in OKLCH oklch(14.16% 0.05484 305.444).

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

The complementary color of #0f031b is #050d00. For a calmer combination use the analogous colors #05061f and #160112. The triadic partners are #170400 and #000f0c.

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

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

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

#0f031b is a neutral color. In OKLCH its hue is 305 degrees, its lightness 14.2% and its chroma 0.055.
