#5652CC#5652CC

#5652CC is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.3% C 0.183 H 279.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5652CC
RGBrgb(86, 82, 204)
HSLhsl(242, 54%, 56%)
HSVhsv(242, 60%, 80%)
CMYKcmyk(57.8%, 59.8%, 0%, 20%)
CIE-LABlab(41.80, 36.66, -63.00)
CIE-LCHlch(41.80, 72.89, 300.20°)
OKLaboklab(51.33% 0.0294 -0.181)
OKLCHoklch(51.33% 0.183 279.2)
XYZxyz(17.7507, 12.3714, 58.5676)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652CC #C8CC52
analogous
#528BCC #5652CC #9352CC
triadic
#5652CC #CC5652 #52CC56
tetradic
#5652CC #CC528B #C8CC52 #52CC93
square
#5652CC #CC528B #C8CC52 #52CC93
split-complementary
#5652CC #CC9352 #8BCC52
monochromatic
#28257E #3733AE #5652CC #8481DA #B2B1E8

Accessibility & contrast

On white

6.04
#5652CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5652CC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652CC#FFFFFF#000000##FFFFFF
##5652CC1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#086F87
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5652cc;
/* rgb */ color: rgb(86, 82, 204);
/* oklch */ color: oklch(51.3% 0.183 279.2);
Tailwind
colors: {
  custom: {
    50: '#9083dc',
    500: '#5652cc',
    950: '#000000',
  },
}
SCSS
$custom: #5652cc;
$custom-light: #9083dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5652cc",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 241.967,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51326,
    "c": 0.18332,
    "h": 279.2
  },
  "luminance": 0.12373
}

Semantic roles & 50–950 ramp

primary
#5652CC
secondary
#D4D6A4
accent
#DE4AD9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5652CC

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

Preview Lab → · Contrast checker → · Palette generator →

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