#5652BC#5652BC

#5652BC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.1% C 0.162 H 280.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5652BC
RGBrgb(86, 82, 188)
HSLhsl(242, 44%, 53%)
HSVhsv(242, 56%, 74%)
CMYKcmyk(54.3%, 56.4%, 0%, 26.3%)
CIE-LABlab(40.64, 31.52, -55.58)
CIE-LCHlch(40.64, 63.89, 299.56°)
OKLaboklab(50.1% 0.0295 -0.1591)
OKLCHoklch(50.1% 0.162 280.5)
XYZxyz(15.9293, 11.6429, 48.9751)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652BC #B8BC52
analogous
#5283BC #5652BC #8B52BC
triadic
#5652BC #BC5652 #52BC56
tetradic
#5652BC #BC5283 #B8BC52 #52BC8B
square
#5652BC #BC5283 #B8BC52 #52BC8B
split-complementary
#5652BC #BC8B52 #83BC52
monochromatic
#2C296A #3E3A97 #5652BC #817ECD #ACAADE

Accessibility & contrast

On white

6.31
#5652BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5652BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652BC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652BC#FFFFFF#000000##FFFFFF
##5652BC1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C0
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#276A7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5652bc;
/* rgb */ color: rgb(86, 82, 188);
/* oklch */ color: oklch(50.1% 0.162 280.5);
Tailwind
colors: {
  custom: {
    50: '#8e83d1',
    500: '#5652bc',
    950: '#000000',
  },
}
SCSS
$custom: #5652bc;
$custom-light: #8e83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5652bc",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 242.264,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50104,
    "c": 0.16185,
    "h": 280.5
  },
  "luminance": 0.11644
}

Semantic roles & 50–950 ramp

primary
#5652BC
secondary
#CACC9E
accent
#D454CF
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5652BC

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

Preview Lab → · Contrast checker → · Palette generator →

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