#5652CF#5652CF

#5652CF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.6% C 0.187 H 279.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5652CF
RGBrgb(86, 82, 207)
HSLhsl(242, 57%, 57%)
HSVhsv(242, 60%, 81%)
CMYKcmyk(58.5%, 60.4%, 0%, 18.8%)
CIE-LABlab(42.03, 37.63, -64.36)
CIE-LCHlch(42.03, 74.55, 300.31°)
OKLaboklab(51.56% 0.0292 -0.185)
OKLCHoklch(51.56% 0.187 279)
XYZxyz(18.1140, 12.5167, 60.4808)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652CF #CBCF52
analogous
#528DCF #5652CF #9552CF
triadic
#5652CF #CF5652 #52CF56
tetradic
#5652CF #CF528D #CBCF52 #52CF95
square
#5652CF #CF528D #CBCF52 #52CF95
split-complementary
#5652CF #CF9552 #8DCF52
monochromatic
#272482 #3631B2 #5652CF #8582DC #B4B2EA

Accessibility & contrast

On white

5.99
#5652CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5652CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652CF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652CF#FFFFFF#000000##FFFFFF
##5652CF1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5652cf;
/* rgb */ color: rgb(86, 82, 207);
/* oklch */ color: oklch(51.6% 0.187 279.0);
Tailwind
colors: {
  custom: {
    50: '#9183df',
    500: '#5652cf',
    950: '#000000',
  },
}
SCSS
$custom: #5652cf;
$custom-light: #9183df;
$custom-dark: #000000;
JSON
{
  "hex": "#5652cf",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 241.92,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51563,
    "c": 0.18726,
    "h": 279
  },
  "luminance": 0.12518
}

Semantic roles & 50–950 ramp

primary
#5652CF
secondary
#D6D8A5
accent
#E048DB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5652CF

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

Preview Lab → · Contrast checker → · Palette generator →

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