# #0c1838 color: Liberty Blue

#0c1838 is rgb(12, 24, 56) in RGB and oklch(21.942% 0.06454 265.832) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c1838 |
| RGB | rgb(12, 24, 56) |
| HSL | hsl(223.64, 64.71%, 13.33%) |
| HSB / HSV | hsv(223.64 78.57% 21.96%) |
| HWB | hwb(223.64 4.71% 78.04%) |
| CMYK | cmyk(79% 57% 0% 78%) |
| Lab | lab(8.79 4.93 -22.9) |
| LCH | lch(8.79 23.43 282.15) |
| OKLab | oklab(21.942% -0.00469 -0.06437) |
| OKLCH | oklch(21.942% 0.06454 265.832) |
| Display P3 | color(display-p3 0.05751 0.09288 0.21129) |
| Rec. 2020 | color(rec2020 0.03162 0.04096 0.14786) |
| Adobe RGB | color(a98-rgb 0.09176 0.11822 0.22685) |
| ProPhoto RGB | color(prophoto-rgb 0.07964 0.07505 0.15618) |
| Linear sRGB | color(srgb-linear 0.00368 0.00913 0.03955) |
| XYZ D65 | color(xyz-d65 0.01192 0.01017 0.03875) |
| XYZ D50 | color(xyz-d50 0.01078 0.00976 0.02918) |
| SwiftUI | Color(red: 0.047, green: 0.094, blue: 0.22) |
| UIKit | UIColor(red: 0.047, green: 0.094, blue: 0.22, alpha: 1) |
| Flutter / Compose | Color(0xFF0C1838) |
| Android XML | #0C1838 |

## Facts

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

## Tints

#0c1838, #1f2c4a, #34415d, #4a5670, #626c83, #7a8397, #939bab, #adb3c0, #c8ccd4, #e3e5ea

## Shades

#0c1838, #09132f, #060f27, #040a1f, #030717, #02040f, #010208, #000104, #000001, #000000

## Tones

#0c1838, #0d1935, #0f1932, #10192f, #121a2c, #131a2a, #151a27, #161a24, #181a21, #191a1e

## Harmonies

- Complementary: #0c1838, #271700
- Split: #0c1838, #301000, #1a1d00
- Analogous: #0c1838, #001e34, #1e1234
- Triadic: #0c1838, #330b0a, #012206
- Tetradic: #0c1838, #290e2a, #271700, #012206
- Square: #0c1838, #300a1b, #271700, #002319
- Monochromatic: #0c1838, #01021e, #01021e, #283659, #47577c

## Questions about #0c1838

### What color is #0c1838?

#0c1838 is soft very dark blue. The closest named color is Liberty Blue. In RGB it is rgb(12, 24, 56), in HSL hsl(223.64, 64.71%, 13.33%) and in OKLCH oklch(21.942% 0.06454 265.832).

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

The complementary color of #0c1838 is #271700. For a calmer combination use the analogous colors #001e34 and #1e1234. The triadic partners are #330b0a and #012206.

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

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

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

#0c1838 is a cool color. In OKLCH its hue is 266 degrees, its lightness 21.9% and its chroma 0.065.
