# #070218 color: Midnight Jam

#070218 is rgb(7, 2, 24) in RGB and oklch(12.156% 0.05247 291.573) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/070218

## Formats

| Format | Value |
| --- | --- |
| HEX | #070218 |
| RGB | rgb(7, 2, 24) |
| HSL | hsl(253.64, 84.62%, 5.1%) |
| HSB / HSV | hsv(253.64 91.67% 9.41%) |
| HWB | hwb(253.64 0.78% 90.59%) |
| CMYK | cmyk(71% 92% 0% 91%) |
| Lab | lab(1.32 4.27 -10.2) |
| LCH | lch(1.32 11.06 292.72) |
| OKLab | oklab(12.156% 0.01929 -0.04879) |
| OKLCH | oklch(12.156% 0.05247 291.573) |
| Display P3 | color(display-p3 0.02397 0.00849 0.08898) |
| Rec. 2020 | color(rec2020 0.00868 0.00364 0.03721) |
| Adobe RGB | color(a98-rgb 0.05493 0.03446 0.11613) |
| ProPhoto RGB | color(prophoto-rgb 0.0367 0.01594 0.06846) |
| Linear sRGB | color(srgb-linear 0.00212 0.00061 0.00913) |
| XYZ D65 | color(xyz-d65 0.00274 0.00155 0.0088) |
| XYZ D50 | color(xyz-d50 0.00247 0.00146 0.00661) |
| SwiftUI | Color(red: 0.027, green: 0.008, blue: 0.094) |
| UIKit | UIColor(red: 0.027, green: 0.008, blue: 0.094, alpha: 1) |
| Flutter / Compose | Color(0xFF070218) |
| Android XML | #070218 |

## Facts

- Closest name: Midnight Jam
- Hue family: Black, black
- Closest Tailwind class: slate-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 20.37:1
- Contrast with black: 1.03:1

## Tints

#070218, #19142c, #2d2941, #444056, #5b596c, #747283, #8e8d9b, #a9a8b3, #c5c4cc, #e2e1e5

## Shades

#070218, #050113, #04010f, #02010a, #020007, #010004, #000002, #000001, #000000, #000000

## Tones

#070218, #070316, #070314, #060413, #060411, #06040f, #06050d, #06050b, #060509, #060608

## Harmonies

- Complementary: #070218, #070700
- Split: #070218, #0e0400, #000a00
- Analogous: #070218, #00041a, #0e0111
- Triadic: #070218, #140100, #000b04
- Tetradic: #070218, #130008, #070700, #000b04
- Square: #070218, #150001, #070700, #00090c
- Monochromatic: #070218, #070218, #070218, #201a36, #3e3857

## Questions about #070218

### What color is #070218?

#070218 is black. The closest named color is Midnight Jam. In RGB it is rgb(7, 2, 24), in HSL hsl(253.64, 84.62%, 5.1%) and in OKLCH oklch(12.156% 0.05247 291.573).

### What colors go well with #070218?

The complementary color of #070218 is #070700. For a calmer combination use the analogous colors #00041a and #0e0111. The triadic partners are #140100 and #000b04.

### Is white or black text more readable on #070218?

White text reads better on #070218: white gives a contrast ratio of 20.37:1 and black gives 1.03:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #070218 a warm or cool color?

#070218 is a cool color. In OKLCH its hue is 292 degrees, its lightness 12.2% and its chroma 0.052.
