#5D5AE6#5D5AE6

#5D5AE6 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.2% C 0.206 H 278.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5D5AE6
RGBrgb(93, 90, 230)
HSLhsl(241, 74%, 63%)
HSVhsv(241, 61%, 90%)
CMYKcmyk(59.6%, 60.9%, 0%, 9.8%)
CIE-LABlab(46.11, 41.35, -70.81)
CIE-LCHlch(46.11, 82.00, 300.28°)
OKLaboklab(55.24% 0.0294 -0.2037)
OKLCHoklch(55.24% 0.206 278.2)
XYZxyz(22.4487, 15.3510, 76.6276)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5AE6 #E3E65A
analogous
#5A9DE6 #5D5AE6 #A35AE6
triadic
#5D5AE6 #E65D5A #5AE65D
tetradic
#5D5AE6 #E65A9D #E3E65A #5AE6A3
square
#5D5AE6 #E65A9D #E3E65A #5AE6A3
split-complementary
#5D5AE6 #E6A35A #9DE65A
monochromatic
#1D1AAC #2925DE #5D5AE6 #918FEE #C5C4F6

Accessibility & contrast

On white

5.16
#5D5AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5D5AE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5AE6
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5AE6#FFFFFF#000000##FFFFFF
##5D5AE61.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0067E3
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d5ae6;
/* rgb */ color: rgb(93, 90, 230);
/* oklch */ color: oklch(55.2% 0.206 278.2);
Tailwind
colors: {
  custom: {
    50: '#9889ef',
    500: '#5d5ae6',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ae6;
$custom-light: #9889ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ae6",
  "rgb": {
    "r": 93,
    "g": 90,
    "b": 230
  },
  "hsl": {
    "h": 241.286,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55238,
    "c": 0.20579,
    "h": 278.2
  },
  "luminance": 0.15353
}

Semantic roles & 50–950 ramp

primary
#5D5AE6
secondary
#E6E7B5
accent
#D610D2
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D5AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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