#5752ED#5752ED

#5752ED is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.1% C 0.225 H 277.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5752ED
RGBrgb(87, 82, 237)
HSLhsl(242, 81%, 63%)
HSVhsv(242, 65%, 93%)
CMYKcmyk(63.3%, 65.4%, 0%, 7.1%)
CIE-LABlab(44.48, 47.36, -77.44)
CIE-LCHlch(44.48, 90.78, 301.45°)
OKLaboklab(54.11% 0.0282 -0.2233)
OKLCHoklch(54.11% 0.225 277.2)
XYZxyz(22.2289, 14.1734, 81.6687)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5752ED #E8ED52
analogous
#529BED #5752ED #A452ED
triadic
#5752ED #ED5752 #52ED57
tetradic
#5752ED #ED529B #E8ED52 #52EDA4
square
#5752ED #ED529B #E8ED52 #52EDA4
split-complementary
#5752ED #EDA452 #9BED52
monochromatic
#1813B2 #211BE7 #5752ED #8D89F3 #C3C1F9

Accessibility & contrast

On white

5.48
#5752ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5752ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5752ED
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5752ED#FFFFFF#000000##FFFFFF
##5752ED1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F2
Deuteranopia (green-blind)
#0063EA
Tritanopia (blue-blind)
#007A98
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5752ed;
/* rgb */ color: rgb(87, 82, 237);
/* oklch */ color: oklch(54.1% 0.225 277.2);
Tailwind
colors: {
  custom: {
    50: '#9783f4',
    500: '#5752ed',
    950: '#000000',
  },
}
SCSS
$custom: #5752ed;
$custom-light: #9783f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5752ed",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 241.935,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54114,
    "c": 0.2251,
    "h": 277.2
  },
  "luminance": 0.14175
}

Semantic roles & 50–950 ramp

primary
#5752ED
secondary
#E8EAB1
accent
#DE08D7
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5752ED

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

Preview Lab → · Contrast checker → · Palette generator →

#5752ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva