#5652E3#5652E3

#5652E3 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.2% C 0.213 H 277.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5652E3
RGBrgb(86, 82, 227)
HSLhsl(242, 72%, 61%)
HSVhsv(242, 64%, 89%)
CMYKcmyk(62.1%, 63.9%, 0%, 11%)
CIE-LABlab(43.59, 44.04, -73.24)
CIE-LCHlch(43.59, 85.46, 301.02°)
OKLaboklab(53.2% 0.028 -0.211)
OKLCHoklch(53.2% 0.213 277.5)
XYZxyz(20.7157, 13.5574, 74.1833)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652E3 #DFE352
analogous
#5296E3 #5652E3 #9E52E3
triadic
#5652E3 #E35652 #52E356
tetradic
#5652E3 #E35296 #DFE352 #52E39E
square
#5652E3 #E35296 #DFE352 #52E39E
split-complementary
#5652E3 #E39E52 #96E352
monochromatic
#1E1AA1 #2723D5 #5652E3 #8987EC #BDBBF4

Accessibility & contrast

On white

5.66
#5652E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5652E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652E3
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652E3#FFFFFF#000000##FFFFFF
##5652E31.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5652e3;
/* rgb */ color: rgb(86, 82, 227);
/* oklch */ color: oklch(53.2% 0.213 277.5);
Tailwind
colors: {
  custom: {
    50: '#9483ed',
    500: '#5652e3',
    950: '#000000',
  },
}
SCSS
$custom: #5652e3;
$custom-light: #9483ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5652e3",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 227
  },
  "hsl": {
    "h": 241.655,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53196,
    "c": 0.21289,
    "h": 277.5
  },
  "luminance": 0.13559
}

Semantic roles & 50–950 ramp

primary
#5652E3
secondary
#E2E4AD
accent
#D411CF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5652E3

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

Preview Lab → · Contrast checker → · Palette generator →

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