CSS named color
SlateBlue #6A5ACD
SlateBlue is a blue with the hex code #6A5ACD, which converts to rgb(106, 90, 205). Open #6A5ACD in the converter to tweak it.
SlateBlue color values
| HEX | #6A5ACD |
|---|---|
| HEX (shorthand) | — |
| RGB | rgb(106, 90, 205) |
| RGBA | rgba(106, 90, 205, 1) |
| 8-digit HEX | #6A5ACDFF |
| HSL | hsl(248, 53%, 58%) |
| HSV / HSB | 248°, 56%, 80% |
| CMYK | 48%, 56%, 0%, 20% |
| RGB 0–1 | 0.416, 0.353, 0.804 |
| Decimal | 6970061 |
| CSS keyword | slateblue |
How #6A5ACD converts to RGB
Split the hex code into three pairs and read each pair as a base-16 number: 6A → 106, 5A → 90, CD → 205. That gives rgb(106, 90, 205). The step-by-step guide explains the math.
Shades of SlateBlue
Mixed toward black in 10% steps. Click a swatch to copy its hex.
Tints of SlateBlue
Mixed toward white in 10% steps.
Color harmonies
Hue rotations of SlateBlue on the HSL color wheel, keeping saturation and lightness fixed. The color harmony guide explains when each scheme works.
Complementary
Analogous
Split-complementary
Triadic
Tetradic (square)
Contrast and accessibility
| Text | Background | Ratio | WCAG 2.x |
|---|---|---|---|
| White | SlateBlue | 5.30:1 | AA |
| Black | SlateBlue | 3.95:1 | AA Large only |
Use white text on a slateblue background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.
Use SlateBlue in CSS
.element {
color: slateblue; /* keyword */
background-color: #6A5ACD; /* hex */
border-color: rgb(106 90 205 / 50%); /* 50% transparent */
}
Need it semi-transparent? Append an alpha byte: #6A5ACD80 is SlateBlue at 50% opacity. See RGBA & transparency.
Similar named colors
FAQ
What is the HEX code for SlateBlue?
The CSS named color slateblue is #6A5ACD in hexadecimal. In CSS you can write color: slateblue; or color: #6A5ACD; — both produce the same pixel.
What is SlateBlue in RGB?
SlateBlue is rgb(106, 90, 205): red 106, green 90, blue 205 on the 0–255 scale. As normalized 0–1 floats that is (0.416, 0.353, 0.804).
Is white or black text more readable on SlateBlue?
White text is more readable. White on #6A5ACD has a contrast ratio of 5.30:1 (AA), black on #6A5ACD has 3.95:1 (AA Large only). WCAG AA needs 4.5:1 for normal text.