CSS named color

DarkSlateBlue #483D8B

darkslateblue rgb(72, 61, 139)

DarkSlateBlue is a blue with the hex code #483D8B, which converts to rgb(72, 61, 139). Open #483D8B in the converter to tweak it.

DarkSlateBlue color values

HEX#483D8B
HEX (shorthand)—
RGBrgb(72, 61, 139)
RGBArgba(72, 61, 139, 1)
8-digit HEX#483D8BFF
HSLhsl(248, 39%, 39%)
HSV / HSB248°, 56%, 55%
CMYK48%, 56%, 0%, 45%
RGB 0–10.282, 0.239, 0.545
Decimal4734347
CSS keyworddarkslateblue

How #483D8B converts to RGB

Split the hex code into three pairs and read each pair as a base-16 number: 48 → 72, 3D → 61, 8B → 139. That gives rgb(72, 61, 139). The step-by-step guide explains the math.

Shades of DarkSlateBlue

Mixed toward black in 10% steps. Click a swatch to copy its hex.

Tints of DarkSlateBlue

Mixed toward white in 10% steps.

Color harmonies

Hue rotations of DarkSlateBlue 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

TextBackgroundRatioWCAG 2.x
White DarkSlateBlue 9.06:1AAA
Black DarkSlateBlue 2.31:1Fail

Use white text on a darkslateblue background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.

Use DarkSlateBlue in CSS

.element {
  color: darkslateblue;                         /* keyword */
  background-color: #483D8B;            /* hex */
  border-color: rgb(72 61 139 / 50%);    /* 50% transparent */
}

Need it semi-transparent? Append an alpha byte: #483D8B80 is DarkSlateBlue at 50% opacity. See RGBA & transparency.

Similar named colors

FAQ

What is the HEX code for DarkSlateBlue?

The CSS named color darkslateblue is #483D8B in hexadecimal. In CSS you can write color: darkslateblue; or color: #483D8B; — both produce the same pixel.

What is DarkSlateBlue in RGB?

DarkSlateBlue is rgb(72, 61, 139): red 72, green 61, blue 139 on the 0–255 scale. As normalized 0–1 floats that is (0.282, 0.239, 0.545).

Is white or black text more readable on DarkSlateBlue?

White text is more readable. White on #483D8B has a contrast ratio of 9.06:1 (AAA), black on #483D8B has 2.31:1 (Fail). WCAG AA needs 4.5:1 for normal text.

Copied!