#5D5AE2#5D5AE2

#5D5AE2 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 54.9% C 0.201 H 278.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5D5AE2
RGBrgb(93, 90, 226)
HSLhsl(241, 70%, 62%)
HSVhsv(241, 60%, 89%)
CMYKcmyk(58.8%, 60.2%, 0%, 11.4%)
CIE-LABlab(45.81, 40.08, -69.04)
CIE-LCHlch(45.81, 79.83, 300.14°)
OKLaboklab(54.92% 0.0296 -0.1985)
OKLCHoklch(54.92% 0.201 278.5)
XYZxyz(21.8935, 15.1289, 73.7032)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5AE2 #DFE25A
analogous
#5A9BE2 #5D5AE2 #A15AE2
triadic
#5D5AE2 #E25D5A #5AE25D
tetradic
#5D5AE2 #E25A9B #DFE25A #5AE2A1
square
#5D5AE2 #E25A9B #DFE25A #5AE2A1
split-complementary
#5D5AE2 #E2A15A #9BE25A
monochromatic
#201DA5 #2A26D9 #5D5AE2 #908EEB #C3C2F4

Accessibility & contrast

On white

5.22
#5D5AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5D5AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5AE2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5AE2#FFFFFF#000000##FFFFFF
##5D5AE21.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#0067DF
Tritanopia (blue-blind)
#007B95
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d5ae2;
/* rgb */ color: rgb(93, 90, 226);
/* oklch */ color: oklch(54.9% 0.201 278.5);
Tailwind
colors: {
  custom: {
    50: '#9789ec',
    500: '#5d5ae2',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ae2;
$custom-light: #9789ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ae2",
  "rgb": {
    "r": 93,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 241.324,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54923,
    "c": 0.20066,
    "h": 278.5
  },
  "luminance": 0.1513
}

Semantic roles & 50–950 ramp

primary
#5D5AE2
secondary
#E4E5B3
accent
#D213CE
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5D5AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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