#5652EE#5652EE

#5652EE is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.1% C 0.227 H 276.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5652EE
RGBrgb(86, 82, 238)
HSLhsl(242, 82%, 63%)
HSVhsv(242, 66%, 93%)
CMYKcmyk(63.9%, 65.5%, 0%, 6.7%)
CIE-LABlab(44.50, 47.55, -77.98)
CIE-LCHlch(44.50, 91.33, 301.37°)
OKLaboklab(54.13% 0.0269 -0.2249)
OKLCHoklch(54.13% 0.227 276.8)
XYZxyz(22.2826, 14.1842, 82.4359)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652EE #EAEE52
analogous
#529CEE #5652EE #A452EE
triadic
#5652EE #EE5652 #52EE56
tetradic
#5652EE #EE529C #EAEE52 #52EEA4
square
#5652EE #EE529C #EAEE52 #52EEA4
split-complementary
#5652EE #EEA452 #9CEE52
monochromatic
#1612B4 #201AE9 #5652EE #8C8AF3 #C3C1F9

Accessibility & contrast

On white

5.47
#5652EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5652EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652EE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652EE#FFFFFF#000000##FFFFFF
##5652EE1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5652ee;
/* rgb */ color: rgb(86, 82, 238);
/* oklch */ color: oklch(54.1% 0.227 276.8);
Tailwind
colors: {
  custom: {
    50: '#9683f5',
    500: '#5652ee',
    950: '#000000',
  },
}
SCSS
$custom: #5652ee;
$custom-light: #9683f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5652ee",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 238
  },
  "hsl": {
    "h": 241.538,
    "s": 82.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54133,
    "c": 0.22654,
    "h": 276.8
  },
  "luminance": 0.14186
}

Semantic roles & 50–950 ramp

primary
#5652EE
secondary
#E9EAB2
accent
#DE07D9
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5652EE

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

Preview Lab → · Contrast checker → · Palette generator →

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