#5652C2#5652C2

#5652C2 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.6% C 0.170 H 280.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5652C2
RGBrgb(86, 82, 194)
HSLhsl(242, 48%, 54%)
HSVhsv(242, 58%, 76%)
CMYKcmyk(55.7%, 57.7%, 0%, 23.9%)
CIE-LABlab(41.07, 33.45, -58.39)
CIE-LCHlch(41.07, 67.29, 299.80°)
OKLaboklab(50.55% 0.0295 -0.1674)
OKLCHoklch(50.55% 0.17 280)
XYZxyz(16.5896, 11.9070, 52.4526)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652C2 #BEC252
analogous
#5286C2 #5652C2 #8E52C2
triadic
#5652C2 #C25652 #52C256
tetradic
#5652C2 #C25286 #BEC252 #52C28E
square
#5652C2 #C25286 #BEC252 #52C28E
split-complementary
#5652C2 #C28E52 #86C252
monochromatic
#2B2872 #3C389F #5652C2 #827FD2 #AEACE2

Accessibility & contrast

On white

6.21
#5652C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5652C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652C2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652C2#FFFFFF#000000##FFFFFF
##5652C21.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#1F6C82
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5652c2;
/* rgb */ color: rgb(86, 82, 194);
/* oklch */ color: oklch(50.6% 0.170 280.0);
Tailwind
colors: {
  custom: {
    50: '#8f83d5',
    500: '#5652c2',
    950: '#000000',
  },
}
SCSS
$custom: #5652c2;
$custom-light: #8f83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5652c2",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 242.143,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50554,
    "c": 0.17,
    "h": 280
  },
  "luminance": 0.11908
}

Semantic roles & 50–950 ramp

primary
#5652C2
secondary
#CED0A0
accent
#D750D3
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5652C2

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

Preview Lab → · Contrast checker → · Palette generator →

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