#5652E7#5652E7

#5652E7 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.5% C 0.218 H 277.3°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5652E7
RGBrgb(86, 82, 231)
HSLhsl(242, 76%, 61%)
HSVhsv(242, 65%, 91%)
CMYKcmyk(62.8%, 64.5%, 0%, 9.4%)
CIE-LABlab(43.92, 45.32, -74.98)
CIE-LCHlch(43.92, 87.61, 301.15°)
OKLaboklab(53.53% 0.0276 -0.2161)
OKLCHoklch(53.53% 0.218 277.3)
XYZxyz(21.2742, 13.7808, 77.1247)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652E7 #E3E752
analogous
#5299E7 #5652E7 #A152E7
triadic
#5652E7 #E75652 #52E756
tetradic
#5652E7 #E75299 #E3E752 #52E7A1
square
#5652E7 #E75299 #E3E752 #52E7A1
split-complementary
#5652E7 #E7A152 #99E752
monochromatic
#1B17A7 #241FDD #5652E7 #8B88EE #BFBDF6

Accessibility & contrast

On white

5.59
#5652E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5652E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652E7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652E7#FFFFFF#000000##FFFFFF
##5652E71.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEC
Deuteranopia (green-blind)
#0061E4
Tritanopia (blue-blind)
#007895
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5652e7;
/* rgb */ color: rgb(86, 82, 231);
/* oklch */ color: oklch(53.5% 0.218 277.3);
Tailwind
colors: {
  custom: {
    50: '#9583f0',
    500: '#5652e7',
    950: '#000000',
  },
}
SCSS
$custom: #5652e7;
$custom-light: #9583f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5652e7",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 241.611,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53534,
    "c": 0.21789,
    "h": 277.3
  },
  "luminance": 0.13783
}

Semantic roles & 50–950 ramp

primary
#5652E7
secondary
#E5E6AF
accent
#D80ED2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5652E7

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

Preview Lab → · Contrast checker → · Palette generator →

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