#5652DC#5652DC

#5652DC is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.6% C 0.204 H 278.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5652DC
RGBrgb(86, 82, 220)
HSLhsl(242, 66%, 59%)
HSVhsv(242, 63%, 86%)
CMYKcmyk(60.9%, 62.7%, 0%, 13.7%)
CIE-LABlab(43.03, 41.80, -70.17)
CIE-LCHlch(43.03, 81.68, 300.78°)
OKLaboklab(52.61% 0.0285 -0.202)
OKLCHoklch(52.61% 0.204 278)
XYZxyz(19.7692, 13.1788, 69.1983)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652DC #D8DC52
analogous
#5293DC #5652DC #9B52DC
triadic
#5652DC #DC5652 #52DC56
tetradic
#5652DC #DC5293 #D8DC52 #52DC9B
square
#5652DC #DC5293 #D8DC52 #52DC9B
split-complementary
#5652DC #DC9B52 #93DC52
monochromatic
#221E95 #2D29C8 #5652DC #8885E6 #B9B8F1

Accessibility & contrast

On white

5.78
#5652DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5652DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652DC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652DC#FFFFFF#000000##FFFFFF
##5652DC1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#00758F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5652dc;
/* rgb */ color: rgb(86, 82, 220);
/* oklch */ color: oklch(52.6% 0.204 278.0);
Tailwind
colors: {
  custom: {
    50: '#9383e8',
    500: '#5652dc',
    950: '#000000',
  },
}
SCSS
$custom: #5652dc;
$custom-light: #9383e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5652dc",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 241.739,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52614,
    "c": 0.20404,
    "h": 278
  },
  "luminance": 0.1318
}

Semantic roles & 50–950 ramp

primary
#5652DC
secondary
#DEE0AA
accent
#E93FE4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5652DC

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

Preview Lab → · Contrast checker → · Palette generator →

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