#0f4c8c color: Magnetic Blue
#0f4c8c is rgb(15, 76, 140) in RGB and oklch(41.696% 0.12151 254.029) 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 #0f4c8c
#0f4c8c is a deep dark blue color. In OKLCH it has 41.7% lightness, 0.122 chroma and a hue of 254°.
Inside sRGB: displays the same on any screen.
White text on it reaches 8.63:1 contrast and black text 2.43:1, so white text reads better.
The closest named color is Magnetic Blue (#054c8a). In Tailwind CSS the closest color is sky-800.
Lighter: #0f4c8c mixed with white
Darker: #0f4c8c mixed with black
Calmer: #0f4c8c with less saturation
Similar named colors
Colors that go with #0f4c8c
Questions about #0f4c8c
What color is #0f4c8c?
#0f4c8c is deep dark blue. The closest named color is Magnetic Blue. In RGB it is rgb(15, 76, 140), in HSL hsl(210.72, 80.65%, 30.39%) and in OKLCH oklch(41.696% 0.12151 254.029).
What colors go well with #0f4c8c?
The complementary color of #0f4c8c is #6e4100. For a calmer combination use the analogous colors #005674 and #463f8b. The triadic partners are #812838 and #2e5900.
Is white or black text more readable on #0f4c8c?
White text reads better on #0f4c8c: white gives a contrast ratio of 8.63:1 and black gives 2.43:1. WCAG AA asks for at least 4.5:1 for body text.
Is #0f4c8c a warm or cool color?
#0f4c8c is a cool color. In OKLCH its hue is 254 degrees, its lightness 41.7% and its chroma 0.122.