#5852E8#5852E8

#5852E8 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.8% C 0.219 H 277.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5852E8
RGBrgb(88, 82, 232)
HSLhsl(242, 77%, 62%)
HSVhsv(242, 65%, 91%)
CMYKcmyk(62.1%, 64.7%, 0%, 9%)
CIE-LABlab(44.14, 45.92, -75.18)
CIE-LCHlch(44.14, 88.09, 301.42°)
OKLaboklab(53.76% 0.0299 -0.2167)
OKLCHoklch(53.76% 0.219 277.9)
XYZxyz(21.6026, 13.9338, 77.8794)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5852E8 #E2E852
analogous
#5297E8 #5852E8 #A352E8
triadic
#5852E8 #E85852 #52E858
tetradic
#5852E8 #E85297 #E2E852 #52E8A3
square
#5852E8 #E85297 #E2E852 #52E8A3
split-complementary
#5852E8 #E8A352 #97E852
monochromatic
#1C16A9 #251EDF #5852E8 #8C88EF #C0BEF6

Accessibility & contrast

On white

5.55
#5852E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5852E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5852E8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5852E8#FFFFFF#000000##FFFFFF
##5852E81.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#0062E5
Tritanopia (blue-blind)
#007996
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5852e8;
/* rgb */ color: rgb(88, 82, 232);
/* oklch */ color: oklch(53.8% 0.219 277.9);
Tailwind
colors: {
  custom: {
    50: '#9683f0',
    500: '#5852e8',
    950: '#000000',
  },
}
SCSS
$custom: #5852e8;
$custom-light: #9683f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5852e8",
  "rgb": {
    "r": 88,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 242.4,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.53756,
    "c": 0.21872,
    "h": 277.9
  },
  "luminance": 0.13935
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5852E8

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

Preview Lab → · Contrast checker → · Palette generator →

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