#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.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Blue
- Very dark
- Soft
- Cool
- ≈ Midnight blue
- slate-900
- Black 78%
Inside sRGB: displays the same on any screen.
Shades
From lightest to darkest. Click a shade to use it.
Harmonies
Recent
Colors you stop on or copy appear here. They stay on this device.
About #0c1838
#0c1838 is a soft very dark blue color. In OKLCH it has 21.9% lightness, 0.065 chroma and a hue of 266°.
Inside sRGB: displays the same on any screen.
White text on it reaches 17.45:1 contrast and black text 1.2:1, so white text reads better.
The closest named color is Liberty Blue (#0e1531). In Tailwind CSS the closest color is slate-900.
Lighter: #0c1838 mixed with white
Darker: #0c1838 mixed with black
Calmer: #0c1838 with less saturation
Similar named colors
Colors that go with #0c1838
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.