#5D5AEA#5D5AEA

#5D5AEA is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.6% C 0.211 H 278.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5D5AEA
RGBrgb(93, 90, 234)
HSLhsl(241, 77%, 64%)
HSVhsv(241, 62%, 92%)
CMYKcmyk(60.3%, 61.5%, 0%, 8.2%)
CIE-LABlab(46.42, 42.62, -72.57)
CIE-LCHlch(46.42, 84.16, 300.42°)
OKLaboklab(55.56% 0.0292 -0.2088)
OKLCHoklch(55.56% 0.211 278)
XYZxyz(23.0169, 15.5783, 79.6199)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5AEA #E7EA5A
analogous
#5A9FEA #5D5AEA #A55AEA
triadic
#5D5AEA #EA5D5A #5AEA5D
tetradic
#5D5AEA #EA5A9F #E7EA5A #5AEAA5
square
#5D5AEA #EA5A9F #E7EA5A #5AEAA5
split-complementary
#5D5AEA #EAA55A #9FEA5A
monochromatic
#1A17B3 #2824E3 #5D5AEA #9290F1 #C8C7F8

Accessibility & contrast

On white

5.10
#5D5AEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5D5AEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5AEA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5AEA#FFFFFF#000000##FFFFFF
##5D5AEA1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#0068E7
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d5aea;
/* rgb */ color: rgb(93, 90, 234);
/* oklch */ color: oklch(55.6% 0.211 278.0);
Tailwind
colors: {
  custom: {
    50: '#9889f2',
    500: '#5d5aea',
    950: '#000000',
  },
}
SCSS
$custom: #5d5aea;
$custom-light: #9889f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5aea",
  "rgb": {
    "r": 93,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 241.25,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55557,
    "c": 0.21088,
    "h": 278
  },
  "luminance": 0.1558
}

Semantic roles & 50–950 ramp

primary
#5D5AEA
secondary
#E8E9B6
accent
#DA0CD5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D5AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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