# #0c0f34 color: Infinite Night

#0c0f34 is rgb(12, 15, 52) in RGB and oklch(19.359% 0.0718 274.021) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c0f34 |
| RGB | rgb(12, 15, 52) |
| HSL | hsl(235.5, 62.5%, 12.55%) |
| HSB / HSV | hsv(235.5 76.92% 20.39%) |
| HWB | hwb(235.5 4.71% 79.61%) |
| CMYK | cmyk(77% 71% 0% 80%) |
| Lab | lab(5.71 9.12 -24.95) |
| LCH | lch(5.71 26.56 290.08) |
| OKLab | oklab(19.359% 0.00503 -0.07162) |
| OKLCH | oklch(19.359% 0.0718 274.021) |
| Display P3 | color(display-p3 0.04928 0.05846 0.19535) |
| Rec. 2020 | color(rec2020 0.02415 0.02267 0.13175) |
| Adobe RGB | color(a98-rgb 0.08112 0.08804 0.21237) |
| ProPhoto RGB | color(prophoto-rgb 0.07005 0.05555 0.14345) |
| Linear sRGB | color(srgb-linear 0.00368 0.00478 0.03434) |
| XYZ D65 | color(xyz-d65 0.00942 0.00668 0.03328) |
| XYZ D50 | color(xyz-d50 0.00836 0.00632 0.02504) |
| SwiftUI | Color(red: 0.047, green: 0.059, blue: 0.204) |
| UIKit | UIColor(red: 0.047, green: 0.059, blue: 0.204, alpha: 1) |
| Flutter / Compose | Color(0xFF0C0F34) |
| Android XML | #0C0F34 |

## Facts

- Closest name: Infinite Night
- Hue family: Indigo, soft very dark indigo
- Closest Tailwind class: slate-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 18.53:1
- Contrast with black: 1.13:1

## Tints

#0c0f34, #1e2447, #32395a, #484f6d, #606681, #787e95, #9297aa, #acb0bf, #c7cad4, #e3e4e9

## Shades

#0c0f34, #090b2c, #060824, #04051c, #030315, #02020e, #010107, #000003, #000001, #000000

## Tones

#0c0f34, #0d1031, #0d112e, #0e122b, #0f1328, #101325, #111422, #11141e, #12141b, #131418

## Harmonies

- Complementary: #0c0f34, #1d1300
- Split: #0c0f34, #270b00, #0e1900
- Analogous: #0c0f34, #001632, #1c092e
- Triadic: #0c0f34, #2d0300, #001d04
- Tetradic: #0c0f34, #260421, #1d1300, #001d04
- Square: #0c0f34, #2c0211, #1d1300, #001c17
- Monochromatic: #0c0f34, #030121, #030121, #262d55, #444d78

## Questions about #0c0f34

### What color is #0c0f34?

#0c0f34 is soft very dark indigo. The closest named color is Infinite Night. In RGB it is rgb(12, 15, 52), in HSL hsl(235.5, 62.5%, 12.55%) and in OKLCH oklch(19.359% 0.0718 274.021).

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

The complementary color of #0c0f34 is #1d1300. For a calmer combination use the analogous colors #001632 and #1c092e. The triadic partners are #2d0300 and #001d04.

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

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

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

#0c0f34 is a cool color. In OKLCH its hue is 274 degrees, its lightness 19.4% and its chroma 0.072.
