#5752E7#5752E7

#5752E7 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.6% C 0.218 H 277.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5752E7
RGBrgb(87, 82, 231)
HSLhsl(242, 76%, 61%)
HSVhsv(242, 65%, 91%)
CMYKcmyk(62.3%, 64.5%, 0%, 9.4%)
CIE-LABlab(43.99, 45.46, -74.86)
CIE-LCHlch(43.99, 87.58, 301.27°)
OKLaboklab(53.6% 0.0288 -0.2158)
OKLCHoklch(53.6% 0.218 277.6)
XYZxyz(21.3669, 13.8286, 77.1290)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5752E7 #E2E752
analogous
#5298E7 #5752E7 #A252E7
triadic
#5752E7 #E75752 #52E757
tetradic
#5752E7 #E75298 #E2E752 #52E7A2
square
#5752E7 #E75298 #E2E752 #52E7A2
split-complementary
#5752E7 #E7A252 #98E752
monochromatic
#1C17A7 #251FDD #5752E7 #8B88EE #BFBDF6

Accessibility & contrast

On white

5.58
#5752E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5752E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5752E7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5752E7#FFFFFF#000000##FFFFFF
##5752E71.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEC
Deuteranopia (green-blind)
#0062E4
Tritanopia (blue-blind)
#007895
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5752e7;
/* rgb */ color: rgb(87, 82, 231);
/* oklch */ color: oklch(53.6% 0.218 277.6);
Tailwind
colors: {
  custom: {
    50: '#9583f0',
    500: '#5752e7',
    950: '#000000',
  },
}
SCSS
$custom: #5752e7;
$custom-light: #9583f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5752e7",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 242.013,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53602,
    "c": 0.21768,
    "h": 277.6
  },
  "luminance": 0.1383
}

Semantic roles & 50–950 ramp

primary
#5752E7
secondary
#E4E6AF
accent
#D80ED1
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5752E7

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

Preview Lab → · Contrast checker → · Palette generator →

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