#5652E1#5652E1

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

Color values

HEX#5652E1
RGBrgb(86, 82, 225)
HSLhsl(242, 70%, 60%)
HSVhsv(242, 64%, 88%)
CMYKcmyk(61.8%, 63.6%, 0%, 11.8%)
CIE-LABlab(43.43, 43.40, -72.37)
CIE-LCHlch(43.43, 84.39, 300.95°)
OKLaboklab(53.03% 0.0281 -0.2085)
OKLCHoklch(53.03% 0.21 277.7)
XYZxyz(20.4413, 13.4477, 72.7380)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652E1 #DDE152
analogous
#5296E1 #5652E1 #9D52E1
triadic
#5652E1 #E15652 #52E156
tetradic
#5652E1 #E15296 #DDE152 #52E19D
square
#5652E1 #E15296 #DDE152 #52E19D
split-complementary
#5652E1 #E19D52 #96E152
monochromatic
#1F1B9D #2924D1 #5652E1 #8986EA #BCBAF3

Accessibility & contrast

On white

5.69
#5652E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5652E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652E1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652E1#FFFFFF#000000##FFFFFF
##5652E11.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)
#006DE6
Deuteranopia (green-blind)
#0061DE
Tritanopia (blue-blind)
#007692
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5652e1;
/* rgb */ color: rgb(86, 82, 225);
/* oklch */ color: oklch(53.0% 0.210 277.7);
Tailwind
colors: {
  custom: {
    50: '#9483eb',
    500: '#5652e1',
    950: '#000000',
  },
}
SCSS
$custom: #5652e1;
$custom-light: #9483eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5652e1",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 241.678,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53029,
    "c": 0.21038,
    "h": 277.7
  },
  "luminance": 0.13449
}

Semantic roles & 50–950 ramp

primary
#5652E1
secondary
#E1E3AC
accent
#D213CD
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5652E1

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

Preview Lab → · Contrast checker → · Palette generator →

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