#5752E9#5752E9

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

Color values

HEX#5752E9
RGBrgb(87, 82, 233)
HSLhsl(242, 77%, 62%)
HSVhsv(242, 65%, 91%)
CMYKcmyk(62.7%, 64.8%, 0%, 8.6%)
CIE-LABlab(44.15, 46.10, -75.72)
CIE-LCHlch(44.15, 88.65, 301.33°)
OKLaboklab(53.77% 0.0286 -0.2183)
OKLCHoklch(53.77% 0.22 277.5)
XYZxyz(21.6510, 13.9423, 78.6252)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5752E9 #E4E952
analogous
#5299E9 #5752E9 #A352E9
triadic
#5752E9 #E95752 #52E957
tetradic
#5752E9 #E95299 #E4E952 #52E9A3
square
#5752E9 #E95299 #E4E952 #52E9A3
split-complementary
#5752E9 #E9A352 #99E952
monochromatic
#1B16AB #231DE1 #5752E9 #8C88F0 #C0BFF7

Accessibility & contrast

On white

5.54
#5752E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5752E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5752E9
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5752E9#FFFFFF#000000##FFFFFF
##5752E91.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5752e9;
/* rgb */ color: rgb(87, 82, 233);
/* oklch */ color: oklch(53.8% 0.220 277.5);
Tailwind
colors: {
  custom: {
    50: '#9683f1',
    500: '#5752e9',
    950: '#000000',
  },
}
SCSS
$custom: #5752e9;
$custom-light: #9683f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5752e9",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 241.987,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.53772,
    "c": 0.22017,
    "h": 277.5
  },
  "luminance": 0.13944
}

Semantic roles & 50–950 ramp

primary
#5752E9
secondary
#E6E7AF
accent
#DA0CD3
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5752E9

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

Preview Lab → · Contrast checker → · Palette generator →

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