Skip to the color picker

#312b85 color: Cosmic Cobalt

#312b85 is rgb(49, 43, 133) in RGB and oklch(35.706% 0.14489 279.091) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

244°
100%

35.7%
0.145
279°
  • Indigo
  • Dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • indigo-900
  • Black 48%

Inside sRGB: displays the same on any screen.

White text
11.57:1Readable · AA
Lc -100
Black text
1.81:1Hard to read
Lc 8

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Open as palette

Recent

Colors you stop on or copy appear here. They stay on this device.

About #312b85

#312b85 is a soft dark indigo color. In OKLCH it has 35.7% lightness, 0.145 chroma and a hue of 279°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Cosmic Cobalt (#2e2d88). In Tailwind CSS the closest color is indigo-900.

More dark indigo colors

Lighter: #312b85 mixed with white

  1. 312b85
  2. 414192
  3. 52569f
  4. 656aac
  5. 797fb8
  6. 8e94c4
  7. a3a8d1
  8. b9bedc
  9. d0d3e8
  10. e7e9f4

Darker: #312b85 mixed with black

  1. 312b85
  2. 292473
  3. 221d61
  4. 1a1650
  5. 131040
  6. 0c0a30
  7. 060521
  8. 030213
  9. 010106
  10. 000001

Calmer: #312b85 with less saturation

  1. 312b85
  2. 312e7e
  3. 323177
  4. 333470
  5. 333669
  6. 353762
  7. 36395a
  8. 373a53
  9. 393b4c
  10. 3a3c44

Questions about #312b85

What color is #312b85?

#312b85 is soft dark indigo. The closest named color is Cosmic Cobalt. In RGB it is rgb(49, 43, 133), in HSL hsl(244, 51.14%, 34.51%) and in OKLCH oklch(35.706% 0.14489 279.091).

What colors go well with #312b85?

The complementary color of #312b85 is #493c00. For a calmer combination use the analogous colors #003c7e and #521c74. The triadic partners are #750c00 and #004c26.

Is white or black text more readable on #312b85?

White text reads better on #312b85: white gives a contrast ratio of 11.57:1 and black gives 1.81:1. WCAG AA asks for at least 4.5:1 for body text.

Is #312b85 a warm or cool color?

#312b85 is a cool color. In OKLCH its hue is 279 degrees, its lightness 35.7% and its chroma 0.145.