#5752E0#5752E0

#5752E0 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.0% C 0.209 H 278.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5752E0
RGBrgb(87, 82, 224)
HSLhsl(242, 70%, 60%)
HSVhsv(242, 63%, 88%)
CMYKcmyk(61.2%, 63.4%, 0%, 12.2%)
CIE-LABlab(43.42, 43.23, -71.81)
CIE-LCHlch(43.42, 83.82, 301.05°)
OKLaboklab(53.02% 0.0294 -0.2068)
OKLCHoklch(53.02% 0.209 278.1)
XYZxyz(20.3980, 13.4411, 72.0260)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5752E0 #DBE052
analogous
#5294E0 #5752E0 #9E52E0
triadic
#5752E0 #E05752 #52E057
tetradic
#5752E0 #E05294 #DBE052 #52E09E
square
#5752E0 #E05294 #DBE052 #52E09E
split-complementary
#5752E0 #E09E52 #94E052
monochromatic
#201C9C #2B25D0 #5752E0 #8986E9 #BCBAF3

Accessibility & contrast

On white

5.69
#5752E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5752E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5752E0
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5752E0#FFFFFF#000000##FFFFFF
##5752E01.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE5
Deuteranopia (green-blind)
#0061DD
Tritanopia (blue-blind)
#007692
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5752e0;
/* rgb */ color: rgb(87, 82, 224);
/* oklch */ color: oklch(53.0% 0.209 278.1);
Tailwind
colors: {
  custom: {
    50: '#9483eb',
    500: '#5752e0',
    950: '#000000',
  },
}
SCSS
$custom: #5752e0;
$custom-light: #9483eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5752e0",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 224
  },
  "hsl": {
    "h": 242.113,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.53015,
    "c": 0.20891,
    "h": 278.1
  },
  "luminance": 0.13443
}

Semantic roles & 50–950 ramp

primary
#5752E0
secondary
#E0E2AC
accent
#EC3BE6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5752E0

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

Preview Lab → · Contrast checker → · Palette generator →

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