#5D5AD9#5D5AD9

#5D5AD9 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.2% C 0.189 H 279.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5D5AD9
RGBrgb(93, 90, 217)
HSLhsl(241, 63%, 60%)
HSVhsv(241, 59%, 85%)
CMYKcmyk(57.1%, 58.5%, 0%, 14.9%)
CIE-LABlab(45.15, 37.21, -65.00)
CIE-LCHlch(45.15, 74.89, 299.79°)
OKLaboklab(54.23% 0.0298 -0.1866)
OKLCHoklch(54.23% 0.189 279.1)
XYZxyz(20.6908, 14.6478, 67.3692)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5AD9 #D6D95A
analogous
#5A97D9 #5D5AD9 #9C5AD9
triadic
#5D5AD9 #D95D5A #5AD95D
tetradic
#5D5AD9 #D95A97 #D6D95A #5AD99C
square
#5D5AD9 #D95A97 #D6D95A #5AD99C
split-complementary
#5D5AD9 #D99C5A #97D95A
monochromatic
#252396 #322EC8 #5D5AD9 #8E8CE4 #BFBDF0

Accessibility & contrast

On white

5.34
#5D5AD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5D5AD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5AD9
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5AD9#FFFFFF#000000##FFFFFF
##5D5AD91.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#117891
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d5ad9;
/* rgb */ color: rgb(93, 90, 217);
/* oklch */ color: oklch(54.2% 0.189 279.1);
Tailwind
colors: {
  custom: {
    50: '#9689e6',
    500: '#5d5ad9',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ad9;
$custom-light: #9689e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ad9",
  "rgb": {
    "r": 93,
    "g": 90,
    "b": 217
  },
  "hsl": {
    "h": 241.417,
    "s": 62.562,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54226,
    "c": 0.18896,
    "h": 279.1
  },
  "luminance": 0.14649
}

Semantic roles & 50–950 ramp

primary
#5D5AD9
secondary
#DFE0AF
accent
#CA1BC6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5D5AD9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5D5AD9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva