#5652D1#5652D1

#5652D1 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.7% C 0.190 H 278.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5652D1
RGBrgb(86, 82, 209)
HSLhsl(242, 58%, 57%)
HSVhsv(242, 61%, 82%)
CMYKcmyk(58.9%, 60.8%, 0%, 18%)
CIE-LABlab(42.18, 38.27, -65.27)
CIE-LCHlch(42.18, 75.66, 300.38°)
OKLaboklab(51.72% 0.0292 -0.1876)
OKLCHoklch(51.72% 0.19 278.8)
XYZxyz(18.3600, 12.6152, 61.7767)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652D1 #CDD152
analogous
#528DD1 #5652D1 #9652D1
triadic
#5652D1 #D15652 #52D156
tetradic
#5652D1 #D1528D #CDD152 #52D196
square
#5652D1 #D1528D #CDD152 #52D196
split-complementary
#5652D1 #D19652 #8DD152
monochromatic
#262385 #3430B6 #5652D1 #8582DE #B4B3EB

Accessibility & contrast

On white

5.96
#5652D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5652D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652D1
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652D1#FFFFFF#000000##FFFFFF
##5652D11.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#005ECE
Tritanopia (blue-blind)
#00718A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5652d1;
/* rgb */ color: rgb(86, 82, 209);
/* oklch */ color: oklch(51.7% 0.190 278.8);
Tailwind
colors: {
  custom: {
    50: '#9183e0',
    500: '#5652d1',
    950: '#000000',
  },
}
SCSS
$custom: #5652d1;
$custom-light: #9183e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5652d1",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 209
  },
  "hsl": {
    "h": 241.89,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51722,
    "c": 0.18987,
    "h": 278.8
  },
  "luminance": 0.12616
}

Semantic roles & 50–950 ramp

primary
#5652D1
secondary
#D8D9A6
accent
#E147DC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5652D1

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

Preview Lab → · Contrast checker → · Palette generator →

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