#5D52EA#5D52EA

#5D52EA is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.3% C 0.220 H 279.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5D52EA
RGBrgb(93, 82, 234)
HSLhsl(244, 78%, 62%)
HSVhsv(244, 65%, 92%)
CMYKcmyk(60.3%, 65%, 0%, 8.2%)
CIE-LABlab(44.66, 47.27, -75.44)
CIE-LCHlch(44.66, 89.02, 302.07°)
OKLaboklab(54.28% 0.0358 -0.2173)
OKLCHoklch(54.28% 0.22 279.4)
XYZxyz(22.3781, 14.3006, 79.4070)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52EA #DFEA52
analogous
#5293EA #5D52EA #A952EA
triadic
#5D52EA #EA5D52 #52EA5D
tetradic
#5D52EA #EA5293 #DFEA52 #52EAA9
square
#5D52EA #EA5293 #DFEA52 #52EAA9
split-complementary
#5D52EA #EAA952 #93EA52
monochromatic
#2015AD #2A1CE3 #5D52EA #9089F1 #C3BFF7

Accessibility & contrast

On white

5.44
#5D52EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5D52EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52EA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52EA#FFFFFF#000000##FFFFFF
##5D52EA1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EF
Deuteranopia (green-blind)
#0064E7
Tritanopia (blue-blind)
#007997
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d52ea;
/* rgb */ color: rgb(93, 82, 234);
/* oklch */ color: oklch(54.3% 0.220 279.4);
Tailwind
colors: {
  custom: {
    50: '#9984f2',
    500: '#5d52ea',
    950: '#000000',
  },
}
SCSS
$custom: #5d52ea;
$custom-light: #9984f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52ea",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 244.342,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54278,
    "c": 0.22022,
    "h": 279.4
  },
  "luminance": 0.14302
}

Semantic roles & 50–950 ramp

primary
#5D52EA
secondary
#E4E8B0
accent
#DB0BCC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D52EA

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

Preview Lab → · Contrast checker → · Palette generator →

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