#5652CA#5652CA

#5652CA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.2% C 0.181 H 279.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5652CA
RGBrgb(86, 82, 202)
HSLhsl(242, 53%, 56%)
HSVhsv(242, 59%, 79%)
CMYKcmyk(57.4%, 59.4%, 0%, 20.8%)
CIE-LABlab(41.65, 36.02, -62.08)
CIE-LCHlch(41.65, 71.77, 300.12°)
OKLaboklab(51.17% 0.0294 -0.1783)
OKLCHoklch(51.17% 0.181 279.4)
XYZxyz(17.5123, 12.2761, 57.3124)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652CA #C6CA52
analogous
#528ACA #5652CA #9252CA
triadic
#5652CA #CA5652 #52CA56
tetradic
#5652CA #CA528A #C6CA52 #52CA92
square
#5652CA #CA528A #C6CA52 #52CA92
split-complementary
#5652CA #CA9252 #8ACA52
monochromatic
#29267C #3834AB #5652CA #8481D8 #B2B0E7

Accessibility & contrast

On white

6.08
#5652CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5652CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652CA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652CA#FFFFFF#000000##FFFFFF
##5652CA1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#0F6F86
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5652ca;
/* rgb */ color: rgb(86, 82, 202);
/* oklch */ color: oklch(51.2% 0.181 279.4);
Tailwind
colors: {
  custom: {
    50: '#9083db',
    500: '#5652ca',
    950: '#000000',
  },
}
SCSS
$custom: #5652ca;
$custom-light: #9083db;
$custom-dark: #000000;
JSON
{
  "hex": "#5652ca",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 242,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51169,
    "c": 0.18068,
    "h": 279.4
  },
  "luminance": 0.12277
}

Semantic roles & 50–950 ramp

primary
#5652CA
secondary
#D3D5A3
accent
#DD4BD8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5652CA

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

Preview Lab → · Contrast checker → · Palette generator →

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