Skip to the color picker

#0c5297 color: Medium Electric Blue

#0c5297 is rgb(12, 82, 151) in RGB and oklch(43.87% 0.12984 253.547) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

210°
100%

43.9%
0.130
254°
  • Blue
  • Dark
  • Vivid
  • Deep
  • Cool
  • ≈ Cobalt
  • sky-800
  • Black 41%

Inside sRGB: displays the same on any screen.

White text
7.87:1Readable · AA
Lc -92
Black text
2.67:1Hard to read
Lc 17

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 #0c5297

#0c5297 is a deep dark blue color. In OKLCH it has 43.9% lightness, 0.13 chroma and a hue of 254°.

Inside sRGB: displays the same on any screen.

White text on it reaches 7.87:1 contrast and black text 2.67:1, so white text reads better.

The closest named color is Medium Electric Blue (#035096). In Tailwind CSS the closest color is sky-800.

More dark blue colors

Lighter: #0c5297 mixed with white

Darker: #0c5297 mixed with black

Calmer: #0c5297 with less saturation

Similar named colors

Colors that go with #0c5297

Complementary
Analogous
Triadic
Split

Questions about #0c5297

What color is #0c5297?

#0c5297 is deep dark blue. The closest named color is Medium Electric Blue. In RGB it is rgb(12, 82, 151), in HSL hsl(209.78, 85.28%, 31.96%) and in OKLCH oklch(43.87% 0.12984 253.547).

What colors go well with #0c5297?

The complementary color of #0c5297 is #764600. For a calmer combination use the analogous colors #005d7c and #4b4496. The triadic partners are #8b2b3d and #326000.

Is white or black text more readable on #0c5297?

White text reads better on #0c5297: white gives a contrast ratio of 7.87:1 and black gives 2.67:1. WCAG AA asks for at least 4.5:1 for body text.

Is #0c5297 a warm or cool color?

#0c5297 is a cool color. In OKLCH its hue is 254 degrees, its lightness 43.9% and its chroma 0.13.