#5652D9#5652D9

#5652D9 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.4% C 0.200 H 278.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5652D9
RGBrgb(86, 82, 217)
HSLhsl(242, 64%, 59%)
HSVhsv(242, 62%, 85%)
CMYKcmyk(60.4%, 62.2%, 0%, 14.9%)
CIE-LABlab(42.80, 40.84, -68.85)
CIE-LCHlch(42.80, 80.05, 300.68°)
OKLaboklab(52.37% 0.0287 -0.1981)
OKLCHoklch(52.37% 0.2 278.2)
XYZxyz(19.3754, 13.0213, 67.1245)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652D9 #D5D952
analogous
#5291D9 #5652D9 #9952D9
triadic
#5652D9 #D95652 #52D956
tetradic
#5652D9 #D95291 #D5D952 #52D999
square
#5652D9 #D95291 #D5D952 #52D999
split-complementary
#5652D9 #D99952 #91D952
monochromatic
#232091 #2F2BC3 #5652D9 #8784E4 #B8B6EF

Accessibility & contrast

On white

5.83
#5652D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5652D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652D9
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652D9#FFFFFF#000000##FFFFFF
##5652D91.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#00748E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5652d9;
/* rgb */ color: rgb(86, 82, 217);
/* oklch */ color: oklch(52.4% 0.200 278.2);
Tailwind
colors: {
  custom: {
    50: '#9383e6',
    500: '#5652d9',
    950: '#000000',
  },
}
SCSS
$custom: #5652d9;
$custom-light: #9383e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5652d9",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 241.778,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52368,
    "c": 0.20021,
    "h": 278.2
  },
  "luminance": 0.13023
}

Semantic roles & 50–950 ramp

primary
#5652D9
secondary
#DDDEA9
accent
#E741E2
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5652D9

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

Preview Lab → · Contrast checker → · Palette generator →

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