#5652E0#5652E0

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

Color values

HEX#5652E0
RGBrgb(86, 82, 224)
HSLhsl(242, 70%, 60%)
HSVhsv(242, 63%, 88%)
CMYKcmyk(61.6%, 63.4%, 0%, 12.2%)
CIE-LABlab(43.35, 43.08, -71.93)
CIE-LCHlch(43.35, 83.85, 300.92°)
OKLaboklab(52.95% 0.0282 -0.2072)
OKLCHoklch(52.95% 0.209 277.7)
XYZxyz(20.3053, 13.3933, 72.0217)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652E0 #DCE052
analogous
#5295E0 #5652E0 #9D52E0
triadic
#5652E0 #E05652 #52E056
tetradic
#5652E0 #E05295 #DCE052 #52E09D
square
#5652E0 #E05295 #DCE052 #52E09D
split-complementary
#5652E0 #E09D52 #95E052
monochromatic
#1F1C9C #2A25D0 #5652E0 #8986E9 #BBBAF3

Accessibility & contrast

On white

5.71
#5652E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5652E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652E0
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652E0#FFFFFF#000000##FFFFFF
##5652E01.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE5
Deuteranopia (green-blind)
#0060DD
Tritanopia (blue-blind)
#007692
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5652e0;
/* rgb */ color: rgb(86, 82, 224);
/* oklch */ color: oklch(52.9% 0.209 277.7);
Tailwind
colors: {
  custom: {
    50: '#9483eb',
    500: '#5652e0',
    950: '#000000',
  },
}
SCSS
$custom: #5652e0;
$custom-light: #9483eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5652e0",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 224
  },
  "hsl": {
    "h": 241.69,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.52945,
    "c": 0.20912,
    "h": 277.7
  },
  "luminance": 0.13395
}

Semantic roles & 50–950 ramp

primary
#5652E0
secondary
#E1E2AC
accent
#EC3BE7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5652E0

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

Preview Lab → · Contrast checker → · Palette generator →

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