#0c1939 color: Naval Night
#0c1939 is rgb(12, 25, 57) in RGB and oklch(22.289% 0.06472 264.97) 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
Open as paletteRecent
Colors you stop on or copy appear here. They stay on this device.
About #0c1939
#0c1939 is a soft very dark blue color. In OKLCH it has 22.3% lightness, 0.065 chroma and a hue of 265°.
Inside sRGB: displays the same on any screen.
White text on it reaches 17.3:1 contrast and black text 1.21:1, so white text reads better.
The closest named color is Naval Night (#011c39). In Tailwind CSS the closest color is slate-900.
Lighter: #0c1939 mixed with white
Darker: #0c1939 mixed with black
Calmer: #0c1939 with less saturation
Similar named colors
Colors that go with #0c1939
Questions about #0c1939
What color is #0c1939?
#0c1939 is soft very dark blue. The closest named color is Naval Night. In RGB it is rgb(12, 25, 57), in HSL hsl(222.67, 65.22%, 13.53%) and in OKLCH oklch(22.289% 0.06472 264.97).
What colors go well with #0c1939?
The complementary color of #0c1939 is #291800. For a calmer combination use the analogous colors #001f35 and #1e1336. The triadic partners are #340c0b and #032306.
Is white or black text more readable on #0c1939?
White text reads better on #0c1939: white gives a contrast ratio of 17.3:1 and black gives 1.21:1. WCAG AA asks for at least 4.5:1 for body text.
Is #0c1939 a warm or cool color?
#0c1939 is a cool color. In OKLCH its hue is 265 degrees, its lightness 22.3% and its chroma 0.065.