#5852EA#5852EA

#5852EA is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 53.9% C 0.221 H 277.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5852EA
RGBrgb(88, 82, 234)
HSLhsl(242, 78%, 62%)
HSVhsv(242, 65%, 92%)
CMYKcmyk(62.4%, 65%, 0%, 8.2%)
CIE-LABlab(44.30, 46.55, -76.04)
CIE-LCHlch(44.30, 89.16, 301.48°)
OKLaboklab(53.93% 0.0297 -0.2192)
OKLCHoklch(53.93% 0.221 277.7)
XYZxyz(21.8883, 14.0481, 79.3840)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5852EA #E4EA52
analogous
#5298EA #5852EA #A452EA
triadic
#5852EA #EA5852 #52EA58
tetradic
#5852EA #EA5298 #E4EA52 #52EAA4
square
#5852EA #EA5298 #E4EA52 #52EAA4
split-complementary
#5852EA #EAA452 #98EA52
monochromatic
#1B15AD #231CE3 #5852EA #8D89F1 #C1BFF7

Accessibility & contrast

On white

5.51
#5852EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5852EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5852EA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5852EA#FFFFFF#000000##FFFFFF
##5852EA1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEF
Deuteranopia (green-blind)
#0062E7
Tritanopia (blue-blind)
#007997
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5852ea;
/* rgb */ color: rgb(88, 82, 234);
/* oklch */ color: oklch(53.9% 0.221 277.7);
Tailwind
colors: {
  custom: {
    50: '#9683f2',
    500: '#5852ea',
    950: '#000000',
  },
}
SCSS
$custom: #5852ea;
$custom-light: #9683f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5852ea",
  "rgb": {
    "r": 88,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 242.368,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.53925,
    "c": 0.22119,
    "h": 277.7
  },
  "luminance": 0.1405
}

Semantic roles & 50–950 ramp

primary
#5852EA
secondary
#E6E8B0
accent
#DB0BD2
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5852EA

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

Preview Lab → · Contrast checker → · Palette generator →

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