#0c1a42 color: Maastricht Blue
#0c1a42 is rgb(12, 26, 66) in RGB and oklch(23.348% 0.07833 265.94) 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
- indigo-950
- Black 74%
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 #0c1a42
#0c1a42 is a soft very dark blue color. In OKLCH it has 23.3% lightness, 0.078 chroma and a hue of 266°.
Inside sRGB: displays the same on any screen.
White text on it reaches 16.91:1 contrast and black text 1.24:1, so white text reads better.
The closest named color is Maastricht Blue (#001c3d). In Tailwind CSS the closest color is indigo-950.
Lighter: #0c1a42 mixed with white
Darker: #0c1a42 mixed with black
Calmer: #0c1a42 with less saturation
Similar named colors
Colors that go with #0c1a42
Questions about #0c1a42
What color is #0c1a42?
#0c1a42 is soft very dark blue. The closest named color is Maastricht Blue. In RGB it is rgb(12, 26, 66), in HSL hsl(224.44, 69.23%, 15.29%) and in OKLCH oklch(23.348% 0.07833 265.94).
What colors go well with #0c1a42?
The complementary color of #0c1a42 is #2b1a00. For a calmer combination use the analogous colors #00213c and #22133e. The triadic partners are #3b0808 and #002703.
Is white or black text more readable on #0c1a42?
White text reads better on #0c1a42: white gives a contrast ratio of 16.91:1 and black gives 1.24:1. WCAG AA asks for at least 4.5:1 for body text.
Is #0c1a42 a warm or cool color?
#0c1a42 is a cool color. In OKLCH its hue is 266 degrees, its lightness 23.3% and its chroma 0.078.