#5852ED#5852ED

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

Color values

HEX#5852ED
RGBrgb(88, 82, 237)
HSLhsl(242, 81%, 63%)
HSVhsv(242, 65%, 93%)
CMYKcmyk(62.9%, 65.4%, 0%, 7.1%)
CIE-LABlab(44.55, 47.50, -77.32)
CIE-LCHlch(44.55, 90.75, 301.56°)
OKLaboklab(54.18% 0.0294 -0.223)
OKLCHoklch(54.18% 0.225 277.5)
XYZxyz(22.3229, 14.2219, 81.6731)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5852ED #E7ED52
analogous
#5299ED #5852ED #A652ED
triadic
#5852ED #ED5852 #52ED58
tetradic
#5852ED #ED5299 #E7ED52 #52EDA6
square
#5852ED #ED5299 #E7ED52 #52EDA6
split-complementary
#5852ED #EDA652 #99ED52
monochromatic
#1913B2 #221BE7 #5852ED #8E89F3 #C3C1F9

Accessibility & contrast

On white

5.46
#5852ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5852ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5852ED
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5852ED#FFFFFF#000000##FFFFFF
##5852ED1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.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: #5852ed;
/* rgb */ color: rgb(88, 82, 237);
/* oklch */ color: oklch(54.2% 0.225 277.5);
Tailwind
colors: {
  custom: {
    50: '#9783f4',
    500: '#5852ed',
    950: '#000000',
  },
}
SCSS
$custom: #5852ed;
$custom-light: #9783f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5852ed",
  "rgb": {
    "r": 88,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 242.323,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54181,
    "c": 0.2249,
    "h": 277.5
  },
  "luminance": 0.14224
}

Semantic roles & 50–950 ramp

primary
#5852ED
secondary
#E7EAB1
accent
#DE08D5
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5852ED

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

Preview Lab → · Contrast checker → · Palette generator →

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