#0c4e8c color: Lapis Blue
#0c4e8c is rgb(12, 78, 140) in RGB and oklch(42.123% 0.1197 252.443) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Blue
- Dark
- Vivid
- Deep
- Cool
- ≈ Cobalt
- sky-800
- Black 45%
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 #0c4e8c
#0c4e8c is a deep dark blue color. In OKLCH it has 42.1% lightness, 0.12 chroma and a hue of 252°.
Inside sRGB: displays the same on any screen.
White text on it reaches 8.45:1 contrast and black text 2.48:1, so white text reads better.
The closest named color is Lapis Blue (#00508d). In Tailwind CSS the closest color is sky-800.
Lighter: #0c4e8c mixed with white
Darker: #0c4e8c mixed with black
Calmer: #0c4e8c with less saturation
Similar named colors
Colors that go with #0c4e8c
Questions about #0c4e8c
What color is #0c4e8c?
#0c4e8c is deep dark blue. The closest named color is Lapis Blue. In RGB it is rgb(12, 78, 140), in HSL hsl(209.06, 84.21%, 29.8%) and in OKLCH oklch(42.123% 0.1197 252.443).
What colors go well with #0c4e8c?
The complementary color of #0c4e8c is #714100. For a calmer combination use the analogous colors #005874 and #45418c. The triadic partners are #812a3b and #325a00.
Is white or black text more readable on #0c4e8c?
White text reads better on #0c4e8c: white gives a contrast ratio of 8.45:1 and black gives 2.48:1. WCAG AA asks for at least 4.5:1 for body text.
Is #0c4e8c a warm or cool color?
#0c4e8c is a cool color. In OKLCH its hue is 252 degrees, its lightness 42.1% and its chroma 0.12.