#5852E9#5852E9

#5852E9 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.8% C 0.220 H 277.8°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5852E9
RGBrgb(88, 82, 233)
HSLhsl(242, 77%, 62%)
HSVhsv(242, 65%, 91%)
CMYKcmyk(62.2%, 64.8%, 0%, 8.6%)
CIE-LABlab(44.22, 46.24, -75.61)
CIE-LCHlch(44.22, 88.62, 301.45°)
OKLaboklab(53.84% 0.0298 -0.2179)
OKLCHoklch(53.84% 0.22 277.8)
XYZxyz(21.7450, 13.9908, 78.6296)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5852E9 #E3E952
analogous
#5298E9 #5852E9 #A452E9
triadic
#5852E9 #E95852 #52E958
tetradic
#5852E9 #E95298 #E3E952 #52E9A4
square
#5852E9 #E95298 #E3E952 #52E9A4
split-complementary
#5852E9 #E9A452 #98E952
monochromatic
#1C16AB #241DE1 #5852E9 #8C88F0 #C1BFF7

Accessibility & contrast

On white

5.53
#5852E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5852E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5852E9
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5852E9#FFFFFF#000000##FFFFFF
##5852E91.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEE
Deuteranopia (green-blind)
#0062E6
Tritanopia (blue-blind)
#007996
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5852e9;
/* rgb */ color: rgb(88, 82, 233);
/* oklch */ color: oklch(53.8% 0.220 277.8);
Tailwind
colors: {
  custom: {
    50: '#9683f1',
    500: '#5852e9',
    950: '#000000',
  },
}
SCSS
$custom: #5852e9;
$custom-light: #9683f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5852e9",
  "rgb": {
    "r": 88,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 242.384,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5384,
    "c": 0.21996,
    "h": 277.8
  },
  "luminance": 0.13992
}

Semantic roles & 50–950 ramp

primary
#5852E9
secondary
#E5E7AF
accent
#DA0CD1
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5852E9

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

Preview Lab → · Contrast checker → · Palette generator →

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