#5652CD#5652CD

#5652CD is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.4% C 0.185 H 279.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5652CD
RGBrgb(86, 82, 205)
HSLhsl(242, 55%, 56%)
HSVhsv(242, 60%, 80%)
CMYKcmyk(58%, 60%, 0%, 19.6%)
CIE-LABlab(41.88, 36.98, -63.45)
CIE-LCHlch(41.88, 73.44, 300.23°)
OKLaboklab(51.41% 0.0293 -0.1823)
OKLCHoklch(51.41% 0.185 279.1)
XYZxyz(17.8710, 12.4195, 59.2013)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652CD #C9CD52
analogous
#528CCD #5652CD #9452CD
triadic
#5652CD #CD5652 #52CD56
tetradic
#5652CD #CD528C #C9CD52 #52CD94
square
#5652CD #CD528C #C9CD52 #52CD94
split-complementary
#5652CD #CD9452 #8CCD52
monochromatic
#282580 #3733AF #5652CD #8481DB #B3B1E8

Accessibility & contrast

On white

6.03
#5652CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5652CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652CD
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652CD#FFFFFF#000000##FFFFFF
##5652CD1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#047088
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5652cd;
/* rgb */ color: rgb(86, 82, 205);
/* oklch */ color: oklch(51.4% 0.185 279.1);
Tailwind
colors: {
  custom: {
    50: '#9183dd',
    500: '#5652cd',
    950: '#000000',
  },
}
SCSS
$custom: #5652cd;
$custom-light: #9183dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5652cd",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 241.951,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51405,
    "c": 0.18464,
    "h": 279.1
  },
  "luminance": 0.12421
}

Semantic roles & 50–950 ramp

primary
#5652CD
secondary
#D5D7A4
accent
#DE49DA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5652CD

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

Preview Lab → · Contrast checker → · Palette generator →

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