#5652CE#5652CE

#5652CE is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.5% C 0.186 H 279.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5652CE
RGBrgb(86, 82, 206)
HSLhsl(242, 56%, 56%)
HSVhsv(242, 60%, 81%)
CMYKcmyk(58.3%, 60.2%, 0%, 19.2%)
CIE-LABlab(41.95, 37.30, -63.91)
CIE-LCHlch(41.95, 74.00, 300.27°)
OKLaboklab(51.48% 0.0293 -0.1836)
OKLCHoklch(51.48% 0.186 279.1)
XYZxyz(17.9921, 12.4680, 59.8390)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652CE #CACE52
analogous
#528CCE #5652CE #9452CE
triadic
#5652CE #CE5652 #52CE56
tetradic
#5652CE #CE528C #CACE52 #52CE94
square
#5652CE #CE528C #CACE52 #52CE94
split-complementary
#5652CE #CE9452 #8CCE52
monochromatic
#282581 #3632B1 #5652CE #8582DC #B3B1E9

Accessibility & contrast

On white

6.01
#5652CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5652CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652CE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652CE#FFFFFF#000000##FFFFFF
##5652CE1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5652ce;
/* rgb */ color: rgb(86, 82, 206);
/* oklch */ color: oklch(51.5% 0.186 279.1);
Tailwind
colors: {
  custom: {
    50: '#9183de',
    500: '#5652ce',
    950: '#000000',
  },
}
SCSS
$custom: #5652ce;
$custom-light: #9183de;
$custom-dark: #000000;
JSON
{
  "hex": "#5652ce",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 241.935,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51483,
    "c": 0.18595,
    "h": 279.1
  },
  "luminance": 0.12469
}

Semantic roles & 50–950 ramp

primary
#5652CE
secondary
#D6D7A4
accent
#DF49DA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5652CE

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

Preview Lab → · Contrast checker → · Palette generator →

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