#5E52ED#5E52ED

#5E52ED is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.6% C 0.224 H 279.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5E52ED
RGBrgb(94, 82, 237)
HSLhsl(245, 81%, 63%)
HSVhsv(245, 65%, 93%)
CMYKcmyk(60.3%, 65.4%, 0%, 7.1%)
CIE-LABlab(44.98, 48.35, -76.60)
CIE-LCHlch(44.98, 90.59, 302.26°)
OKLaboklab(54.6% 0.0367 -0.2207)
OKLCHoklch(54.6% 0.224 279.4)
XYZxyz(22.9146, 14.5270, 81.7008)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E52ED #E1ED52
analogous
#5294ED #5E52ED #AB52ED
triadic
#5E52ED #ED5E52 #52ED5E
tetradic
#5E52ED #ED5294 #E1ED52 #52EDAB
square
#5E52ED #ED5294 #E1ED52 #52EDAB
split-complementary
#5E52ED #EDAB52 #94ED52
monochromatic
#1F13B2 #2A1BE7 #5E52ED #9289F3 #C5C1F9

Accessibility & contrast

On white

5.38
#5E52ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5E52ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E52ED
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E52ED#FFFFFF#000000##FFFFFF
##5E52ED1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F2
Deuteranopia (green-blind)
#0064EA
Tritanopia (blue-blind)
#007A98
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e52ed;
/* rgb */ color: rgb(94, 82, 237);
/* oklch */ color: oklch(54.6% 0.224 279.4);
Tailwind
colors: {
  custom: {
    50: '#9a84f4',
    500: '#5e52ed',
    950: '#000000',
  },
}
SCSS
$custom: #5e52ed;
$custom-light: #9a84f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e52ed",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 244.645,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54603,
    "c": 0.22372,
    "h": 279.4
  },
  "luminance": 0.14529
}

Semantic roles & 50–950 ramp

primary
#5E52ED
secondary
#E5EAB1
accent
#DE08CD
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E52ED

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

Preview Lab → · Contrast checker → · Palette generator →

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