#5752EE#5752EE

#5752EE is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.2% C 0.226 H 277.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5752EE
RGBrgb(87, 82, 238)
HSLhsl(242, 82%, 63%)
HSVhsv(242, 66%, 93%)
CMYKcmyk(63.4%, 65.5%, 0%, 6.7%)
CIE-LABlab(44.56, 47.68, -77.87)
CIE-LCHlch(44.56, 91.31, 301.48°)
OKLaboklab(54.2% 0.0281 -0.2246)
OKLCHoklch(54.2% 0.226 277.1)
XYZxyz(22.3754, 14.2320, 82.4403)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5752EE #E9EE52
analogous
#529BEE #5752EE #A552EE
triadic
#5752EE #EE5752 #52EE57
tetradic
#5752EE #EE529B #E9EE52 #52EEA5
square
#5752EE #EE529B #E9EE52 #52EEA5
split-complementary
#5752EE #EEA552 #9BEE52
monochromatic
#1712B4 #211AE9 #5752EE #8D8AF3 #C3C1F9

Accessibility & contrast

On white

5.46
#5752EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5752EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5752EE
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5752EE#FFFFFF#000000##FFFFFF
##5752EE1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F3
Deuteranopia (green-blind)
#0063EB
Tritanopia (blue-blind)
#007B99
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5752ee;
/* rgb */ color: rgb(87, 82, 238);
/* oklch */ color: oklch(54.2% 0.226 277.1);
Tailwind
colors: {
  custom: {
    50: '#9783f5',
    500: '#5752ee',
    950: '#000000',
  },
}
SCSS
$custom: #5752ee;
$custom-light: #9783f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5752ee",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 238
  },
  "hsl": {
    "h": 241.923,
    "s": 82.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.542,
    "c": 0.22633,
    "h": 277.1
  },
  "luminance": 0.14234
}

Semantic roles & 50–950 ramp

primary
#5752EE
secondary
#E8EAB2
accent
#DE07D8
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5752EE

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

Preview Lab → · Contrast checker → · Palette generator →

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