#0c4c8b color: Magnetic Blue
#0c4c8b is rgb(12, 76, 139) in RGB and oklch(41.567% 0.12072 253.266) 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 #0c4c8b
#0c4c8b is a deep dark blue color. In OKLCH it has 41.6% lightness, 0.121 chroma and a hue of 253°.
Inside sRGB: displays the same on any screen.
White text on it reaches 8.67:1 contrast and black text 2.42:1, so white text reads better.
The closest named color is Magnetic Blue (#054c8a). In Tailwind CSS the closest color is sky-800.
Lighter: #0c4c8b mixed with white
Darker: #0c4c8b mixed with black
Calmer: #0c4c8b with less saturation
Similar named colors
Colors that go with #0c4c8b
Questions about #0c4c8b
What color is #0c4c8b?
#0c4c8b is deep dark blue. The closest named color is Magnetic Blue. In RGB it is rgb(12, 76, 139), in HSL hsl(209.76, 84.11%, 29.61%) and in OKLCH oklch(41.567% 0.12072 253.266).
What colors go well with #0c4c8b?
The complementary color of #0c4c8b is #6e4000. For a calmer combination use the analogous colors #005673 and #453f8a. The triadic partners are #802838 and #2f5900.
Is white or black text more readable on #0c4c8b?
White text reads better on #0c4c8b: white gives a contrast ratio of 8.67:1 and black gives 2.42:1. WCAG AA asks for at least 4.5:1 for body text.
Is #0c4c8b a warm or cool color?
#0c4c8b is a cool color. In OKLCH its hue is 253 degrees, its lightness 41.6% and its chroma 0.121.