Free Accessible CSS Gradient Generator

← All Colors
#483D8B Dark Slate Blue

Dark Slate Blue Hex Code #483D8B

Dark Slate Blue is a dark, moderate purple with the hex code #483D8B. In RGB it is 72, 61, 139, and in HSL it is 248°, 39%, 39%. It is one of the 148 named colors in CSS, so you can write “darkslateblue” instead of the hex code.

HEX
#483D8B
RGB
rgb(72, 61, 139)
HSL
hsl(248, 39%, 39%)
HSV
hsv(248°, 56%, 55%)
CMYK
cmyk(48%, 56%, 0%, 45%)
CSS name
darkslateblue

CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.

About Dark Slate Blue

On a white background Dark Slate Blue has a contrast ratio of 9.07:1 (AAA), and on black 2.32:1 (Fail). White text is the better choice on top of it.

It sits on the cool side of the color wheel, a range that tends to feel calm and appears to recede.

Purple combines the calm of blue with the energy of red. It reads as creative and premium, and is often used by design, media and beauty brands.

Shades and tints of Dark Slate Blue

Tints mix Dark Slate Blue with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.

Color harmonies for Dark Slate Blue

These schemes are calculated from Dark Slate Blue on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.

Analogous

Open in the color wheel

Triadic

Open in the color wheel

Tetradic

Open in the color wheel

Square

Open in the color wheel

On the artist’s RYB wheel, the complement of Dark Slate Blue is #8B763D, close to the named color Dark Olive Green.

Dark Slate Blue contrast and accessibility

WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Dark Slate Blue scores against white and black.

Contrast of Dark Slate Blue with white and black
AgainstRatioAA normalAA largeAAA normalAAA large
White (#ffffff) 9.07:1 ✓ Pass ✓ Pass ✓ Pass ✓ Pass
Black (#000000) 2.32:1 ✕ Fail ✕ Fail ✕ Fail ✕ Fail
Aa White text on Dark Slate Blue9.07:1
Aa Black text on Dark Slate Blue2.32:1

Dark Slate Blue and color blindness

These are approximate previews of how Dark Slate Blue can look with the main types of color vision deficiency.

Protanopia #124B8E

Dark Slate Blue shifts slightly.

Deuteranopia #104689

Dark Slate Blue shifts slightly.

Tritanopia #324E5E

Dark Slate Blue changes noticeably.

Achromatopsia #494949

Dark Slate Blue changes noticeably.

Gradients with Dark Slate Blue

Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.

Dark Slate Blue to a lighter tint

background: linear-gradient(135deg, #483d8b 0%, #b6b1d1 100%);

Dark Slate Blue to its analogous neighbour

background: linear-gradient(135deg, #483d8b 0%, #6f3d8b 100%);

Dark Slate Blue to its complement

background: linear-gradient(135deg, #483d8b 0%, #808b3d 100%);

Colors similar to Dark Slate Blue

How each close match differs from Dark Slate Blue.

More purple colors →

Use Dark Slate Blue in code

CSS
.element {
  color: #483d8b;
  background-color: #483d8b;
  border-color: darkslateblue;   /* darkslateblue is a valid CSS color name */
}
CSS variable
:root {
  --color-dark-slate-blue: #483d8b;
}
Tailwind
<!-- Tailwind arbitrary values -->
<div class="bg-[#483d8b] text-[#483d8b] border-[#483d8b]"></div>

/* Tailwind v4 theme color */
@theme {
  --color-dark-slate-blue: #483d8b;
}

Dark Slate Blue questions

What is the hex code for Dark Slate Blue?

The hex code for Dark Slate Blue is #483D8B. In RGB that is rgb(72, 61, 139), and in HSL it is hsl(248, 39%, 39%).

What is the complementary color of Dark Slate Blue?

On the RGB (screen) color wheel, the complement of Dark Slate Blue is #808B3D, which is close to Olive Drab. On the artist’s RYB wheel it is #8B763D, close to Dark Olive Green.

Should I use white or black text on Dark Slate Blue?

White text. It has a contrast ratio of 9.07:1 against Dark Slate Blue, which is WCAG AAA. The other option scores 2.32:1.

Is Dark Slate Blue accessible as a text color on white?

Yes. Dark Slate Blue on white scores 9.07:1, which passes WCAG AA for normal text (4.5:1) and AAA (7:1).

What are darker and lighter shades of Dark Slate Blue?

Mixing Dark Slate Blue with black gives #3A316F, #2B2553, #1D1838, #0E0C1C (20% to 80% black). Mixing it with white gives #6D64A2, #918BB9, #B6B1D1, #DAD8E8 (20% to 80% white).

More color tools