#5652ED#5652ED

#5652ED is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.0% C 0.225 H 276.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5652ED
RGBrgb(86, 82, 237)
HSLhsl(242, 81%, 63%)
HSVhsv(242, 65%, 93%)
CMYKcmyk(63.7%, 65.4%, 0%, 7.1%)
CIE-LABlab(44.41, 47.23, -77.55)
CIE-LCHlch(44.41, 90.80, 301.34°)
OKLaboklab(54.05% 0.027 -0.2237)
OKLCHoklch(54.05% 0.225 276.9)
XYZxyz(22.1361, 14.1256, 81.6643)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652ED #E9ED52
analogous
#529CED #5652ED #A352ED
triadic
#5652ED #ED5652 #52ED56
tetradic
#5652ED #ED529C #E9ED52 #52EDA3
square
#5652ED #ED529C #E9ED52 #52EDA3
split-complementary
#5652ED #EDA352 #9CED52
monochromatic
#1713B2 #201BE7 #5652ED #8C89F3 #C2C1F9

Accessibility & contrast

On white

5.49
#5652ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5652ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652ED
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652ED#FFFFFF#000000##FFFFFF
##5652ED1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F2
Deuteranopia (green-blind)
#0062EA
Tritanopia (blue-blind)
#007A98
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5652ed;
/* rgb */ color: rgb(86, 82, 237);
/* oklch */ color: oklch(54.0% 0.225 276.9);
Tailwind
colors: {
  custom: {
    50: '#9683f4',
    500: '#5652ed',
    950: '#000000',
  },
}
SCSS
$custom: #5652ed;
$custom-light: #9683f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5652ed",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 241.548,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54047,
    "c": 0.22531,
    "h": 276.9
  },
  "luminance": 0.14127
}

Semantic roles & 50–950 ramp

primary
#5652ED
secondary
#E8EAB1
accent
#DE08D8
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5652ED

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

Preview Lab → · Contrast checker → · Palette generator →

#5652ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva