#5652E2#5652E2

#5652E2 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.1% C 0.212 H 277.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5652E2
RGBrgb(86, 82, 226)
HSLhsl(242, 71%, 60%)
HSVhsv(242, 64%, 89%)
CMYKcmyk(61.9%, 63.7%, 0%, 11.4%)
CIE-LABlab(43.51, 43.72, -72.81)
CIE-LCHlch(43.51, 84.93, 300.99°)
OKLaboklab(53.11% 0.028 -0.2098)
OKLCHoklch(53.11% 0.212 277.6)
XYZxyz(20.5781, 13.5024, 73.4586)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652E2 #DEE252
analogous
#5296E2 #5652E2 #9E52E2
triadic
#5652E2 #E25652 #52E256
tetradic
#5652E2 #E25296 #DEE252 #52E29E
square
#5652E2 #E25296 #DEE252 #52E29E
split-complementary
#5652E2 #E29E52 #96E252
monochromatic
#1E1B9F #2823D3 #5652E2 #8986EB #BCBBF4

Accessibility & contrast

On white

5.67
#5652E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5652E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652E2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652E2#FFFFFF#000000##FFFFFF
##5652E21.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5652e2;
/* rgb */ color: rgb(86, 82, 226);
/* oklch */ color: oklch(53.1% 0.212 277.6);
Tailwind
colors: {
  custom: {
    50: '#9483ec',
    500: '#5652e2',
    950: '#000000',
  },
}
SCSS
$custom: #5652e2;
$custom-light: #9483ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5652e2",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 241.667,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53112,
    "c": 0.21164,
    "h": 277.6
  },
  "luminance": 0.13504
}

Semantic roles & 50–950 ramp

primary
#5652E2
secondary
#E2E3AC
accent
#D312CE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5652E2

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

Preview Lab → · Contrast checker → · Palette generator →

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