#5652E9#5652E9

#5652E9 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.7% C 0.220 H 277.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5652E9
RGBrgb(86, 82, 233)
HSLhsl(242, 77%, 62%)
HSVhsv(242, 65%, 91%)
CMYKcmyk(63.1%, 64.8%, 0%, 8.6%)
CIE-LABlab(44.08, 45.96, -75.84)
CIE-LCHlch(44.08, 88.68, 301.21°)
OKLaboklab(53.7% 0.0274 -0.2187)
OKLCHoklch(53.7% 0.22 277.1)
XYZxyz(21.5583, 13.8945, 78.6208)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652E9 #E5E952
analogous
#529AE9 #5652E9 #A152E9
triadic
#5652E9 #E95652 #52E956
tetradic
#5652E9 #E9529A #E5E952 #52E9A1
square
#5652E9 #E9529A #E5E952 #52E9A1
split-complementary
#5652E9 #E9A152 #9AE952
monochromatic
#1A16AB #221DE1 #5652E9 #8B88F0 #C0BFF7

Accessibility & contrast

On white

5.56
#5652E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5652E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652E9
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652E9#FFFFFF#000000##FFFFFF
##5652E91.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEE
Deuteranopia (green-blind)
#0062E6
Tritanopia (blue-blind)
#007996
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5652e9;
/* rgb */ color: rgb(86, 82, 233);
/* oklch */ color: oklch(53.7% 0.220 277.1);
Tailwind
colors: {
  custom: {
    50: '#9583f1',
    500: '#5652e9',
    950: '#000000',
  },
}
SCSS
$custom: #5652e9;
$custom-light: #9583f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5652e9",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 241.589,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.53704,
    "c": 0.22038,
    "h": 277.1
  },
  "luminance": 0.13896
}

Semantic roles & 50–950 ramp

primary
#5652E9
secondary
#E6E7AF
accent
#DA0CD4
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5652E9

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

Preview Lab → · Contrast checker → · Palette generator →

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