# #0d0218 color: Midnight Jam

#0d0218 is rgb(13, 2, 24) in RGB and oklch(13.159% 0.05366 306.42) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0d0218 |
| RGB | rgb(13, 2, 24) |
| HSL | hsl(270, 84.62%, 5.1%) |
| HSB / HSV | hsv(270 91.67% 9.41%) |
| HWB | hwb(270 0.78% 90.59%) |
| CMYK | cmyk(46% 92% 0% 91%) |
| Lab | lab(1.7 5.97 -9.59) |
| LCH | lch(1.7 11.3 301.89) |
| OKLab | oklab(13.159% 0.03186 -0.04318) |
| OKLCH | oklch(13.159% 0.05366 306.42) |
| Display P3 | color(display-p3 0.044 0.00931 0.08921) |
| Rec. 2020 | color(rec2020 0.01404 0.00423 0.03735) |
| Adobe RGB | color(a98-rgb 0.07181 0.03446 0.11613) |
| ProPhoto RGB | color(prophoto-rgb 0.04399 0.01893 0.06861) |
| Linear sRGB | color(srgb-linear 0.00402 0.00061 0.00913) |
| XYZ D65 | color(xyz-d65 0.00353 0.00195 0.00883) |
| XYZ D50 | color(xyz-d50 0.0033 0.00188 0.00664) |
| SwiftUI | Color(red: 0.051, green: 0.008, blue: 0.094) |
| UIKit | UIColor(red: 0.051, green: 0.008, blue: 0.094, alpha: 1) |
| Flutter / Compose | Color(0xFF0D0218) |
| Android XML | #0D0218 |

## 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.21:1
- Contrast with black: 1.04:1

## Tints

#0d0218, #20142c, #352940, #4b4056, #62596c, #7a7283, #938d9b, #ada8b3, #c8c4cc, #e3e1e5

## Shades

#0d0218, #0a0113, #07010f, #05010a, #030007, #020004, #010002, #000001, #000000, #000000

## Tones

#0d0218, #0c0316, #0c0315, #0b0413, #0b0512, #0a0510, #0a060e, #09060d, #08070b, #080709

## Harmonies

- Complementary: #0d0218, #040a00
- Split: #0d0218, #0d0700, #000d01
- Analogous: #0d0218, #04041c, #14010f
- Triadic: #0d0218, #140300, #000c0a
- Tetradic: #0d0218, #170005, #040a00, #000c0a
- Square: #0d0218, #180000, #040a00, #000b13
- Monochromatic: #0d0218, #0b0115, #0b0115, #291a36, #473957

## Questions about #0d0218

### What color is #0d0218?

#0d0218 is black. The closest named color is Midnight Jam. In RGB it is rgb(13, 2, 24), in HSL hsl(270, 84.62%, 5.1%) and in OKLCH oklch(13.159% 0.05366 306.42).

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

The complementary color of #0d0218 is #040a00. For a calmer combination use the analogous colors #04041c and #14010f. The triadic partners are #140300 and #000c0a.

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

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

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

#0d0218 is a neutral color. In OKLCH its hue is 306 degrees, its lightness 13.2% and its chroma 0.054.
