#0c4d8d color: Magnetic Blue
#0c4d8d is rgb(12, 77, 141) in RGB and oklch(41.953% 0.12225 253.316) 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 #0c4d8d
#0c4d8d is a deep dark blue color. In OKLCH it has 42% lightness, 0.122 chroma and a hue of 253°.
Inside sRGB: displays the same on any screen.
White text on it reaches 8.53:1 contrast and black text 2.46:1, so white text reads better.
The closest named color is Magnetic Blue (#054c8a). In Tailwind CSS the closest color is sky-800.
Lighter: #0c4d8d mixed with white
Darker: #0c4d8d mixed with black
Calmer: #0c4d8d with less saturation
Similar named colors
Colors that go with #0c4d8d
Questions about #0c4d8d
What color is #0c4d8d?
#0c4d8d is deep dark blue. The closest named color is Magnetic Blue. In RGB it is rgb(12, 77, 141), in HSL hsl(209.77, 84.31%, 30%) and in OKLCH oklch(41.953% 0.12225 253.316).
What colors go well with #0c4d8d?
The complementary color of #0c4d8d is #6f4100. For a calmer combination use the analogous colors #005774 and #46408c. The triadic partners are #822939 and #305a00.
Is white or black text more readable on #0c4d8d?
White text reads better on #0c4d8d: white gives a contrast ratio of 8.53:1 and black gives 2.46:1. WCAG AA asks for at least 4.5:1 for body text.
Is #0c4d8d a warm or cool color?
#0c4d8d is a cool color. In OKLCH its hue is 253 degrees, its lightness 42% and its chroma 0.122.