Skip to the color picker

#172a5b color: Ultramarine Violet

#172a5b is rgb(23, 42, 91) in RGB and oklch(29.996% 0.09141 265.314) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

223°
100%

30%
0.091
265°
  • Blue
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • blue-950
  • Black 64%

Inside sRGB: displays the same on any screen.

White text
13.83:1Readable · AA
Lc -103
Black text
1.52: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 #172a5b

#172a5b is a soft very dark blue color. In OKLCH it has 30% lightness, 0.091 chroma and a hue of 265°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Ultramarine Violet (#1d2a58). In Tailwind CSS the closest color is blue-950.

More very dark blue colors

Lighter: #172a5b mixed with white

Darker: #172a5b mixed with black

  1. 000000

Calmer: #172a5b with less saturation

Similar named colors

Colors that go with #172a5b

Complementary
Analogous
Triadic
Split

Questions about #172a5b

What color is #172a5b?

#172a5b is soft very dark blue. The closest named color is Ultramarine Violet. In RGB it is rgb(23, 42, 91), in HSL hsl(223.24, 59.65%, 22.35%) and in OKLCH oklch(29.996% 0.09141 265.314).

What colors go well with #172a5b?

The complementary color of #172a5b is #402900. For a calmer combination use the analogous colors #003353 and #322156. The triadic partners are #531514 and #02390b.

Is white or black text more readable on #172a5b?

White text reads better on #172a5b: white gives a contrast ratio of 13.83:1 and black gives 1.52:1. WCAG AA asks for at least 4.5:1 for body text.

Is #172a5b a warm or cool color?

#172a5b is a cool color. In OKLCH its hue is 265 degrees, its lightness 30% and its chroma 0.091.