#0c2040 color: Dark Eclipse
#0c2040 is rgb(12, 32, 64) in RGB and oklch(24.716% 0.0662 259.432) 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 75%
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 #0c2040
#0c2040 is a soft very dark blue color. In OKLCH it has 24.7% lightness, 0.066 chroma and a hue of 259°.
Inside sRGB: displays the same on any screen.
White text on it reaches 16.2:1 contrast and black text 1.3:1, so white text reads better.
The closest named color is Dark Eclipse (#112244). In Tailwind CSS the closest color is indigo-950.
Lighter: #0c2040 mixed with white
Darker: #0c2040 mixed with black
Calmer: #0c2040 with less saturation
Similar named colors
Colors that go with #0c2040
Questions about #0c2040
What color is #0c2040?
#0c2040 is soft very dark blue. The closest named color is Dark Eclipse. In RGB it is rgb(12, 32, 64), in HSL hsl(216.92, 68.42%, 14.9%) and in OKLCH oklch(24.716% 0.0662 259.432).
What colors go well with #0c2040?
The complementary color of #0c2040 is #311c00. For a calmer combination use the analogous colors #00263a and #211a3e. The triadic partners are #3b1114 and #0d2806.
Is white or black text more readable on #0c2040?
White text reads better on #0c2040: white gives a contrast ratio of 16.2:1 and black gives 1.3:1. WCAG AA asks for at least 4.5:1 for body text.
Is #0c2040 a warm or cool color?
#0c2040 is a cool color. In OKLCH its hue is 259 degrees, its lightness 24.7% and its chroma 0.066.