Skip to the color picker

#0c1f4c color: Oxford Blue

#0c1f4c is rgb(12, 31, 76) in RGB and oklch(25.493% 0.08717 263.964) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

222°
100%

25.5%
0.087
264°
  • Blue
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • indigo-950
  • Black 70%

Inside sRGB: displays the same on any screen.

White text
15.96:1Readable · AA
Lc -105
Black text
1.32:1Hard to read
Lc 0

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

#0c1f4c is a soft very dark blue color. In OKLCH it has 25.5% lightness, 0.087 chroma and a hue of 264°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Oxford Blue (#002147). In Tailwind CSS the closest color is indigo-950.

More very dark blue colors

Lighter: #0c1f4c mixed with white

Darker: #0c1f4c mixed with black

  1. 020618
  2. 000000

Calmer: #0c1f4c with less saturation

Similar named colors

Colors that go with #0c1f4c

Complementary
Analogous
Triadic
Split

Questions about #0c1f4c

What color is #0c1f4c?

#0c1f4c is soft very dark blue. The closest named color is Oxford Blue. In RGB it is rgb(12, 31, 76), in HSL hsl(222.19, 72.73%, 17.25%) and in OKLCH oklch(25.493% 0.08717 263.964).

What colors go well with #0c1f4c?

The complementary color of #0c1f4c is #331e00. For a calmer combination use the analogous colors #002742 and #261748. The triadic partners are #440a0c and #002d01.

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

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

Is #0c1f4c a warm or cool color?

#0c1f4c is a cool color. In OKLCH its hue is 264 degrees, its lightness 25.5% and its chroma 0.087.