#0c2d4a color: Midnight Ocean
#0c2d4a is rgb(12, 45, 74) in RGB and oklch(28.986% 0.06524 248.755) 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
- ≈ Graphite
- 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 #0c2d4a
#0c2d4a is a soft very dark blue color. In OKLCH it has 29% lightness, 0.065 chroma and a hue of 249°.
Inside sRGB: displays the same on any screen.
White text on it reaches 14.1:1 contrast and black text 1.49:1, so white text reads better.
The closest named color is Midnight Ocean (#0f2d4d). In Tailwind CSS the closest color is sky-950.
Lighter: #0c2d4a mixed with white
Darker: #0c2d4a mixed with black
Calmer: #0c2d4a with less saturation
Similar named colors
Colors that go with #0c2d4a
Questions about #0c2d4a
What color is #0c2d4a?
#0c2d4a is soft very dark blue. The closest named color is Midnight Ocean. In RGB it is rgb(12, 45, 74), in HSL hsl(208.06, 72.09%, 16.86%) and in OKLCH oklch(28.986% 0.06524 248.755).
What colors go well with #0c2d4a?
The complementary color of #0c2d4a is #402400. For a calmer combination use the analogous colors #003241 and #25274b. The triadic partners are #461c25 and #213109.
Is white or black text more readable on #0c2d4a?
White text reads better on #0c2d4a: white gives a contrast ratio of 14.1:1 and black gives 1.49:1. WCAG AA asks for at least 4.5:1 for body text.
Is #0c2d4a a warm or cool color?
#0c2d4a is a cool color. In OKLCH its hue is 249 degrees, its lightness 29% and its chroma 0.065.