Skip to the color picker

#172f66 color: Mythical Night

#172f66 is rgb(23, 47, 102) in RGB and oklch(32.086% 0.10153 263.857) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

222°
100%

32.1%
0.102
264°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • blue-950
  • Black 60%

Inside sRGB: displays the same on any screen.

White text
12.84:1Readable · AA
Lc -102
Black text
1.63: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 #172f66

#172f66 is a soft dark blue color. In OKLCH it has 32.1% lightness, 0.102 chroma and a hue of 264°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Mythical Night (#1c2e63). In Tailwind CSS the closest color is blue-950.

More dark blue colors

Lighter: #172f66 mixed with white

Darker: #172f66 mixed with black

  1. 000000

Calmer: #172f66 with less saturation

Similar named colors

Colors that go with #172f66

Complementary
Analogous
Triadic
Split

Questions about #172f66

What color is #172f66?

#172f66 is soft dark blue. The closest named color is Mythical Night. In RGB it is rgb(23, 47, 102), in HSL hsl(221.77, 63.2%, 24.51%) and in OKLCH oklch(32.086% 0.10153 263.857).

What colors go well with #172f66?

The complementary color of #172f66 is #472e00. For a calmer combination use the analogous colors #00395a and #372561. The triadic partners are #5c1618 and #033f08.

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

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

Is #172f66 a warm or cool color?

#172f66 is a cool color. In OKLCH its hue is 264 degrees, its lightness 32.1% and its chroma 0.102.