#5652EA#5652EA

#5652EA is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.8% C 0.222 H 277.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5652EA
RGBrgb(86, 82, 234)
HSLhsl(242, 78%, 62%)
HSVhsv(242, 65%, 92%)
CMYKcmyk(63.2%, 65%, 0%, 8.2%)
CIE-LABlab(44.16, 46.27, -76.27)
CIE-LCHlch(44.16, 89.21, 301.25°)
OKLaboklab(53.79% 0.0273 -0.2199)
OKLCHoklch(53.79% 0.222 277.1)
XYZxyz(21.7015, 13.9518, 79.3753)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652EA #E6EA52
analogous
#529AEA #5652EA #A252EA
triadic
#5652EA #EA5652 #52EA56
tetradic
#5652EA #EA529A #E6EA52 #52EAA2
square
#5652EA #EA529A #E6EA52 #52EAA2
split-complementary
#5652EA #EAA252 #9AEA52
monochromatic
#1915AD #211CE3 #5652EA #8B89F1 #C1BFF7

Accessibility & contrast

On white

5.54
#5652EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5652EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652EA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652EA#FFFFFF#000000##FFFFFF
##5652EA1.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)
#006FEF
Deuteranopia (green-blind)
#0062E7
Tritanopia (blue-blind)
#007997
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5652ea;
/* rgb */ color: rgb(86, 82, 234);
/* oklch */ color: oklch(53.8% 0.222 277.1);
Tailwind
colors: {
  custom: {
    50: '#9683f2',
    500: '#5652ea',
    950: '#000000',
  },
}
SCSS
$custom: #5652ea;
$custom-light: #9683f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5652ea",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 241.579,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.53789,
    "c": 0.22162,
    "h": 277.1
  },
  "luminance": 0.13954
}

Semantic roles & 50–950 ramp

primary
#5652EA
secondary
#E6E8B0
accent
#DB0BD5
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5652EA

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

Preview Lab → · Contrast checker → · Palette generator →

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