#5652DE#5652DE

#5652DE is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.8% C 0.207 H 277.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5652DE
RGBrgb(86, 82, 222)
HSLhsl(242, 68%, 60%)
HSVhsv(242, 63%, 87%)
CMYKcmyk(61.3%, 63.1%, 0%, 12.9%)
CIE-LABlab(43.19, 42.44, -71.06)
CIE-LCHlch(43.19, 82.77, 300.85°)
OKLaboklab(52.78% 0.0284 -0.2046)
OKLCHoklch(52.78% 0.207 277.9)
XYZxyz(20.0356, 13.2854, 70.6016)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652DE #DADE52
analogous
#5294DE #5652DE #9C52DE
triadic
#5652DE #DE5652 #52DE56
tetradic
#5652DE #DE5294 #DADE52 #52DE9C
square
#5652DE #DE5294 #DADE52 #52DE9C
split-complementary
#5652DE #DE9C52 #94DE52
monochromatic
#211D99 #2C27CC #5652DE #8885E8 #BAB9F2

Accessibility & contrast

On white

5.74
#5652DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5652DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652DE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652DE#FFFFFF#000000##FFFFFF
##5652DE1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE2
Deuteranopia (green-blind)
#0060DB
Tritanopia (blue-blind)
#007590
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5652de;
/* rgb */ color: rgb(86, 82, 222);
/* oklch */ color: oklch(52.8% 0.207 277.9);
Tailwind
colors: {
  custom: {
    50: '#9383e9',
    500: '#5652de',
    950: '#000000',
  },
}
SCSS
$custom: #5652de;
$custom-light: #9383e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5652de",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 241.714,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52779,
    "c": 0.20659,
    "h": 277.9
  },
  "luminance": 0.13287
}

Semantic roles & 50–950 ramp

primary
#5652DE
secondary
#E0E1AB
accent
#EB3DE6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5652DE

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

Preview Lab → · Contrast checker → · Palette generator →

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