#0c2a4b color: Midnight Ocean
#0c2a4b is rgb(12, 42, 75) in RGB and oklch(28.241% 0.07034 253.384) 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
- sky-950
- Black 71%
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 #0c2a4b
#0c2a4b is a soft very dark blue color. In OKLCH it has 28.2% lightness, 0.07 chroma and a hue of 253°.
Inside sRGB: displays the same on any screen.
White text on it reaches 14.5:1 contrast and black text 1.45:1, so white text reads better.
The closest named color is Midnight Ocean (#0f2d4d). In Tailwind CSS the closest color is sky-950.
Lighter: #0c2a4b mixed with white
Darker: #0c2a4b mixed with black
Calmer: #0c2a4b with less saturation
Similar named colors
Colors that go with #0c2a4b
Questions about #0c2a4b
What color is #0c2a4b?
#0c2a4b is soft very dark blue. The closest named color is Midnight Ocean. In RGB it is rgb(12, 42, 75), in HSL hsl(211.43, 72.41%, 17.06%) and in OKLCH oklch(28.241% 0.07034 253.384).
What colors go well with #0c2a4b?
The complementary color of #0c2a4b is #3e2300. For a calmer combination use the analogous colors #003043 and #26234b. The triadic partners are #46181f and #1b3007.
Is white or black text more readable on #0c2a4b?
White text reads better on #0c2a4b: white gives a contrast ratio of 14.5:1 and black gives 1.45:1. WCAG AA asks for at least 4.5:1 for body text.
Is #0c2a4b a warm or cool color?
#0c2a4b is a cool color. In OKLCH its hue is 253 degrees, its lightness 28.2% and its chroma 0.07.