# #0c1e39 color: Trapped Darkness

#0c1e39 is rgb(12, 30, 57) in RGB and oklch(23.627% 0.05738 258.376) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c1e39 |
| RGB | rgb(12, 30, 57) |
| HSL | hsl(216, 65.22%, 13.53%) |
| HSB / HSV | hsv(216 78.95% 22.35%) |
| HWB | hwb(216 4.71% 77.65%) |
| CMYK | cmyk(79% 47% 0% 78%) |
| Lab | lab(11 0.96 -20.1) |
| LCH | lch(11 20.12 272.72) |
| OKLab | oklab(23.627% -0.01156 -0.0562) |
| OKLCH | oklch(23.627% 0.05738 258.376) |
| Display P3 | color(display-p3 0.06413 0.11592 0.21584) |
| Rec. 2020 | color(rec2020 0.03759 0.05696 0.1526) |
| Adobe RGB | color(a98-rgb 0.10005 0.13872 0.23077) |
| ProPhoto RGB | color(prophoto-rgb 0.08562 0.08902 0.16016) |
| Linear sRGB | color(srgb-linear 0.00368 0.01298 0.04092) |
| XYZ D65 | color(xyz-d65 0.01354 0.01302 0.04051) |
| XYZ D50 | color(xyz-d50 0.01246 0.01261 0.03053) |
| SwiftUI | Color(red: 0.047, green: 0.118, blue: 0.224) |
| UIKit | UIColor(red: 0.047, green: 0.118, blue: 0.224, alpha: 1) |
| Flutter / Compose | Color(0xFF0C1E39) |
| Android XML | #0C1E39 |

## Facts

- Closest name: Trapped Darkness
- Hue family: Blue, soft very dark blue
- Closest Tailwind class: slate-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 16.66:1
- Contrast with black: 1.26:1

## Tints

#0c1e39, #20314b, #36455d, #4c5a70, #637084, #7b8697, #949dab, #aeb5c0, #c8cdd4, #e3e6ea

## Shades

#0c1e39, #091930, #061328, #040e1f, #030917, #020510, #010309, #000104, #000001, #000000

## Tones

#0c1e39, #0e1e36, #101e34, #121f31, #141f2f, #161f2c, #181f29, #191f27, #1b1f24, #1d1e21

## Harmonies

- Complementary: #0c1e39, #2d1a00
- Split: #0c1e39, #331403, #212000
- Analogous: #0c1e39, #002334, #1e1938
- Triadic: #0c1e39, #351114, #0f2408
- Tetradic: #0c1e39, #2a1430, #2d1a00, #0f2408
- Square: #0c1e39, #311123, #2d1a00, #002719
- Monochromatic: #0c1e39, #00041b, #00041b, #293d5a, #495e7d

## Questions about #0c1e39

### What color is #0c1e39?

#0c1e39 is soft very dark blue. The closest named color is Trapped Darkness. In RGB it is rgb(12, 30, 57), in HSL hsl(216, 65.22%, 13.53%) and in OKLCH oklch(23.627% 0.05738 258.376).

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

The complementary color of #0c1e39 is #2d1a00. For a calmer combination use the analogous colors #002334 and #1e1938. The triadic partners are #351114 and #0f2408.

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

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

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

#0c1e39 is a cool color. In OKLCH its hue is 258 degrees, its lightness 23.6% and its chroma 0.057.
