Skip to content

Slate Blue

Hex #6A5ACD, rgb(106 90 205). A blue CSS named color.

Open in palette generator

Slate Blue color codes

Click any value to copy it.

HEX
RGB
HSL
HSV
HWB
CMYK
OKLCH
OKLab
Lab
LCH
CSS keyword

About Slate Blue

Slate Blue is a medium saturated blue with the hex code #6A5ACD. In RGB it is made of 106 red, 90 green and 205 blue; in HSL its hue is 248°, with 53% saturation and 58% lightness. Its perceptual lightness (OKLCH L) is 54.4%.

It is a CSS named color, so you can write "slateblue" anywhere CSS accepts a color. Against white it has a contrast ratio of 5.31:1 and against black 3.96:1, so white text reads better on it and passes WCAG AA for normal text.

Tints, shades and tones

Slate Blue mixed step by step with white, black and middle gray (#808080).

Tints (with white)

Shades (with black)

Tones (with gray)

Slate Blue 50-950 scale

A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.

Colors that go with Slate Blue

Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.

Complementary

Analogous

Triadic

Split complementary

Tetradic

Square

Monochromatic

Contrast and readability

WCAG 2 contrast of Slate Blue with white and black. The readable text color on Slate Blue is white.

Slate Blue textSmall text on white

On white5.31:1

  • AA pass
  • AA Large pass
  • AAA fail
  • UI 3:1 pass

APCA Lc 76

Slate Blue textSmall text on black

On black3.96:1

  • AA fail
  • AA Large pass
  • AAA fail
  • UI 3:1 pass

APCA Lc -26

White text on Slate Blue (#FFFFFF)

Test any pair in the contrast checker.

Color blindness preview

How Slate Blue appears with each type of color vision deficiency (simulated with the Machado model).

  • Protanopia#0E6FD1
  • Deuteranopia#0668CB
  • Tritanopia#48748B
  • Protanomaly#3869CF
  • Deuteranomaly#3465CB
  • Tritanomaly#6166B3
  • Achromatopsia#6B6B6B

Colors similar to Slate Blue

The closest named colors by perceptual difference (OKLab).

Use Slate Blue in CSS and Tailwind

CSS
.slate-blue {
  color: slateblue; /* #6A5ACD */
  background-color: rgb(106 90 205);
  border-color: oklch(54.4% 0.171 285.5);
}
Tailwind CSS
/* Tailwind CSS v4: bg-slate-blue-500, text-slate-blue-700... */
@theme {
  --color-slate-blue-50: #F9F9FF;
  --color-slate-blue-100: #EBEBFF;
  --color-slate-blue-200: #D6D6FD;
  --color-slate-blue-300: #B8B6FB;
  --color-slate-blue-400: #938AF2;
  --color-slate-blue-500: #7D6EE7;
  --color-slate-blue-600: #6A5ACD;
  --color-slate-blue-700: #5547A8;
  --color-slate-blue-800: #443986;
  --color-slate-blue-900: #372F6C;
  --color-slate-blue-950: #140E34;
}

<!-- or the exact color, no config -->
<div class="bg-[#6A5ACD] text-[#FFFFFF]">…</div>