#5652CB#5652CB

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

Color values

HEX#5652CB
RGBrgb(86, 82, 203)
HSLhsl(242, 54%, 56%)
HSVhsv(242, 60%, 80%)
CMYKcmyk(57.6%, 59.6%, 0%, 20.4%)
CIE-LABlab(41.73, 36.34, -62.54)
CIE-LCHlch(41.73, 72.33, 300.16°)
OKLaboklab(51.25% 0.0294 -0.1796)
OKLCHoklch(51.25% 0.182 279.3)
XYZxyz(17.6311, 12.3236, 57.9379)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652CB #C7CB52
analogous
#528BCB #5652CB #9252CB
triadic
#5652CB #CB5652 #52CB56
tetradic
#5652CB #CB528B #C7CB52 #52CB92
square
#5652CB #CB528B #C7CB52 #52CB92
split-complementary
#5652CB #CB9252 #8BCB52
monochromatic
#28267D #3834AC #5652CB #8481D9 #B2B0E7

Accessibility & contrast

On white

6.06
#5652CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5652CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652CB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652CB#FFFFFF#000000##FFFFFF
##5652CB1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#0C6F86
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5652cb;
/* rgb */ color: rgb(86, 82, 203);
/* oklch */ color: oklch(51.2% 0.182 279.3);
Tailwind
colors: {
  custom: {
    50: '#9083dc',
    500: '#5652cb',
    950: '#000000',
  },
}
SCSS
$custom: #5652cb;
$custom-light: #9083dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5652cb",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 241.983,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51247,
    "c": 0.182,
    "h": 279.3
  },
  "luminance": 0.12325
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5652CB

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

Preview Lab → · Contrast checker → · Palette generator →

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