# #0c173a color: Liberty Blue

#0c173a is rgb(12, 23, 58) in RGB and oklch(21.866% 0.0695 267.277) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c173a |
| RGB | rgb(12, 23, 58) |
| HSL | hsl(225.65, 65.71%, 13.73%) |
| HSB / HSV | hsv(225.65 79.31% 22.75%) |
| HWB | hwb(225.65 4.71% 77.25%) |
| CMYK | cmyk(79% 60% 0% 77%) |
| Lab | lab(8.59 6.42 -24.66) |
| LCH | lch(8.59 25.48 284.59) |
| OKLab | oklab(21.866% -0.0033 -0.06942) |
| OKLCH | oklch(21.866% 0.0695 267.277) |
| Display P3 | color(display-p3 0.05649 0.08904 0.21863) |
| Rec. 2020 | color(rec2020 0.03132 0.03876 0.15517) |
| Adobe RGB | color(a98-rgb 0.09046 0.11483 0.2338) |
| ProPhoto RGB | color(prophoto-rgb 0.08049 0.07319 0.16181) |
| Linear sRGB | color(srgb-linear 0.00368 0.00857 0.04231) |
| XYZ D65 | color(xyz-d65 0.01222 0.00996 0.04131) |
| XYZ D50 | color(xyz-d50 0.01096 0.00953 0.0311) |
| SwiftUI | Color(red: 0.047, green: 0.09, blue: 0.227) |
| UIKit | UIColor(red: 0.047, green: 0.09, blue: 0.227, alpha: 1) |
| Flutter / Compose | Color(0xFF0C173A) |
| Android XML | #0C173A |

## 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.51:1
- Contrast with black: 1.2:1

## Tints

#0c173a, #1f2b4c, #34405f, #4a5572, #616c85, #7a8399, #939aac, #adb3c1, #c8ccd5, #e3e5ea

## Shades

#0c173a, #091231, #060e28, #040a20, #030618, #020410, #010209, #000104, #000001, #000000

## Tones

#0c173a, #0d1837, #0f1834, #101931, #12192e, #131a2b, #141a27, #161a24, #171a21, #191a1e

## Harmonies

- Complementary: #0c173a, #271700
- Split: #0c173a, #310f00, #181e00
- Analogous: #0c173a, #001d36, #1e1136
- Triadic: #0c173a, #340907, #002205
- Tetradic: #0c173a, #2a0c2b, #271700, #002205
- Square: #0c173a, #32081b, #271700, #00231a
- Monochromatic: #0c173a, #010220, #010220, #28365c, #46567f

## Questions about #0c173a

### What color is #0c173a?

#0c173a is soft very dark blue. The closest named color is Liberty Blue. In RGB it is rgb(12, 23, 58), in HSL hsl(225.65, 65.71%, 13.73%) and in OKLCH oklch(21.866% 0.0695 267.277).

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

The complementary color of #0c173a is #271700. For a calmer combination use the analogous colors #001d36 and #1e1136. The triadic partners are #340907 and #002205.

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

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

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

#0c173a is a cool color. In OKLCH its hue is 267 degrees, its lightness 21.9% and its chroma 0.07.
