Skip to the color picker

#313f82 color: Official Violet

#313f82 is rgb(49, 63, 130) in RGB and oklch(39.372% 0.11339 271.417) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

230°
100%

39.4%
0.113
271°
  • Indigo
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 49%

Inside sRGB: displays the same on any screen.

White text
9.70:1Readable · AA
Lc -96
Black text
2.16:1Hard to read
Lc 12

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 #313f82

#313f82 is a soft dark indigo color. In OKLCH it has 39.4% lightness, 0.113 chroma and a hue of 271°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Official Violet (#2e4182). In Tailwind CSS the closest color is blue-900.

More dark indigo colors

Lighter: #313f82 mixed with white

  1. 313f82
  2. 42518f
  3. 55649c
  4. 6876a8
  5. 7c89b5
  6. 909cc2
  7. a6afce
  8. bbc3da
  9. d1d7e7
  10. e8ebf3

Darker: #313f82 mixed with black

  1. 313f82
  2. 293570
  3. 222c5f
  4. 1a234e
  5. 131b3e
  6. 0c122f
  7. 060a20
  8. 030412
  9. 010106
  10. 000001

Calmer: #313f82 with less saturation

  1. 313f82
  2. 33407c
  3. 354276
  4. 374371
  5. 39436b
  6. 3b4465
  7. 3d455f
  8. 3f4559
  9. 414653
  10. 44464c

Questions about #313f82

What color is #313f82?

#313f82 is soft dark indigo. The closest named color is Official Violet. In RGB it is rgb(49, 63, 130), in HSL hsl(229.63, 45.25%, 35.1%) and in OKLCH oklch(39.372% 0.11339 271.417).

What colors go well with #313f82?

The complementary color of #313f82 is #5a4300. For a calmer combination use the analogous colors #004b7c and #513478. The triadic partners are #77281c and #005624.

Is white or black text more readable on #313f82?

White text reads better on #313f82: white gives a contrast ratio of 9.7:1 and black gives 2.16:1. WCAG AA asks for at least 4.5:1 for body text.

Is #313f82 a warm or cool color?

#313f82 is a cool color. In OKLCH its hue is 271 degrees, its lightness 39.4% and its chroma 0.113.