#0c4f8d color: Lapis Blue
#0c4f8d is rgb(12, 79, 141) in RGB and oklch(42.436% 0.11988 252.187) 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 #0c4f8d
#0c4f8d is a deep dark blue color. In OKLCH it has 42.4% lightness, 0.12 chroma and a hue of 252°.
Inside sRGB: displays the same on any screen.
White text on it reaches 8.34:1 contrast and black text 2.52:1, so white text reads better.
The closest named color is Lapis Blue (#00508d). In Tailwind CSS the closest color is sky-800.
Lighter: #0c4f8d mixed with white
Darker: #0c4f8d mixed with black
Calmer: #0c4f8d with less saturation
Similar named colors
Colors that go with #0c4f8d
Questions about #0c4f8d
What color is #0c4f8d?
#0c4f8d is deep dark blue. The closest named color is Lapis Blue. In RGB it is rgb(12, 79, 141), in HSL hsl(208.84, 84.31%, 30%) and in OKLCH oklch(42.436% 0.11988 252.187).
What colors go well with #0c4f8d?
The complementary color of #0c4f8d is #724100. For a calmer combination use the analogous colors #005975 and #46428d. The triadic partners are #822b3c and #345b00.
Is white or black text more readable on #0c4f8d?
White text reads better on #0c4f8d: white gives a contrast ratio of 8.34:1 and black gives 2.52:1. WCAG AA asks for at least 4.5:1 for body text.
Is #0c4f8d a warm or cool color?
#0c4f8d is a cool color. In OKLCH its hue is 252 degrees, its lightness 42.4% and its chroma 0.12.