Skip to the color picker

#31579b color: Cyan Cobalt Blue

#31579b is rgb(49, 87, 155) in RGB and oklch(46.469% 0.11889 261.078) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

218°
100%

46.5%
0.119
261°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Denim
  • sky-800
  • Black 39%

Inside sRGB: displays the same on any screen.

White text
7.08:1Readable · AA
Lc -89
Black text
2.97:1Hard to read
Lc 20

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 #31579b

#31579b is a soft dark blue color. In OKLCH it has 46.5% lightness, 0.119 chroma and a hue of 261°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Cyan Cobalt Blue (#28589c). In Tailwind CSS the closest color is sky-800.

More dark blue colors

Lighter: #31579b mixed with white

Darker: #31579b mixed with black

Calmer: #31579b with less saturation

Similar named colors

Colors that go with #31579b

Complementary
Analogous
Triadic
Split

Questions about #31579b

What color is #31579b?

#31579b is soft dark blue. The closest named color is Cyan Cobalt Blue. In RGB it is rgb(49, 87, 155), in HSL hsl(218.49, 51.96%, 40%) and in OKLCH oklch(46.469% 0.11889 261.078).

What colors go well with #31579b?

The complementary color of #31579b is #795000. For a calmer combination use the analogous colors #00638e and #5b4a96. The triadic partners are #90393b and #2e6924.

Is white or black text more readable on #31579b?

White text reads better on #31579b: white gives a contrast ratio of 7.08:1 and black gives 2.97:1. WCAG AA asks for at least 4.5:1 for body text.

Is #31579b a warm or cool color?

#31579b is a cool color. In OKLCH its hue is 261 degrees, its lightness 46.5% and its chroma 0.119.