# #0c0217 color: Midnight Jam

#0c0217 is rgb(12, 2, 23) in RGB and oklch(12.88% 0.0519 305.562) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c0217 |
| RGB | rgb(12, 2, 23) |
| HSL | hsl(268.57, 84%, 4.9%) |
| HSB / HSV | hsv(268.57 91.3% 9.02%) |
| HWB | hwb(268.57 0.78% 90.98%) |
| CMYK | cmyk(48% 91% 0% 91%) |
| Lab | lab(1.6 5.47 -9) |
| LCH | lch(1.6 10.53 301.28) |
| OKLab | oklab(12.88% 0.03019 -0.04222) |
| OKLCH | oklch(12.88% 0.0519 305.562) |
| Display P3 | color(display-p3 0.04046 0.00916 0.08543) |
| Rec. 2020 | color(rec2020 0.01295 0.00409 0.03504) |
| Adobe RGB | color(a98-rgb 0.06908 0.03446 0.11282) |
| ProPhoto RGB | color(prophoto-rgb 0.04218 0.01813 0.06623) |
| Linear sRGB | color(srgb-linear 0.00368 0.00061 0.00857) |
| XYZ D65 | color(xyz-d65 0.00328 0.00183 0.00829) |
| XYZ D50 | color(xyz-d50 0.00306 0.00177 0.00623) |
| SwiftUI | Color(red: 0.047, green: 0.008, blue: 0.09) |
| UIKit | UIColor(red: 0.047, green: 0.008, blue: 0.09, alpha: 1) |
| Flutter / Compose | Color(0xFF0C0217) |
| Android XML | #0C0217 |

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

## Tints

#0c0217, #1f132b, #34293f, #4a4055, #61596b, #797282, #938d9a, #ada8b2, #c7c4cb, #e3e1e5

## Shades

#0c0217, #090112, #06010e, #04010a, #030006, #020004, #010002, #000001, #000000, #000000

## Tones

#0c0217, #0b0315, #0b0314, #0a0412, #0a0411, #09050f, #09050d, #08060c, #08060a, #070709

## Harmonies

- Complementary: #0c0217, #040a00
- Split: #0c0217, #0c0600, #000c01
- Analogous: #0c0217, #04041b, #12010f
- Triadic: #0c0217, #130300, #000c09
- Tetradic: #0c0217, #160005, #040a00, #000c09
- Square: #0c0217, #170000, #040a00, #000a12
- Monochromatic: #0c0217, #0a0115, #0a0115, #271a35, #463855

## Questions about #0c0217

### What color is #0c0217?

#0c0217 is black. The closest named color is Midnight Jam. In RGB it is rgb(12, 2, 23), in HSL hsl(268.57, 84%, 4.9%) and in OKLCH oklch(12.88% 0.0519 305.562).

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

The complementary color of #0c0217 is #040a00. For a calmer combination use the analogous colors #04041b and #12010f. The triadic partners are #130300 and #000c09.

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

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

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

#0c0217 is a neutral color. In OKLCH its hue is 306 degrees, its lightness 12.9% and its chroma 0.052.
