#5652BD#5652BD

#5652BD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.2% C 0.163 H 280.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5652BD
RGBrgb(86, 82, 189)
HSLhsl(242, 45%, 53%)
HSVhsv(242, 57%, 74%)
CMYKcmyk(54.5%, 56.6%, 0%, 25.9%)
CIE-LABlab(40.71, 31.84, -56.05)
CIE-LCHlch(40.71, 64.46, 299.60°)
OKLaboklab(50.18% 0.0295 -0.1605)
OKLCHoklch(50.18% 0.163 280.4)
XYZxyz(16.0375, 11.6861, 49.5448)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652BD #B9BD52
analogous
#5283BD #5652BD #8B52BD
triadic
#5652BD #BD5652 #52BD56
tetradic
#5652BD #BD5283 #B9BD52 #52BD8B
square
#5652BD #BD5283 #B9BD52 #52BD8B
split-complementary
#5652BD #BD8B52 #83BD52
monochromatic
#2C296C #3D3A98 #5652BD #817ECE #ADABDF

Accessibility & contrast

On white

6.29
#5652BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5652BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652BD
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652BD#FFFFFF#000000##FFFFFF
##5652BD1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#266B7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5652bd;
/* rgb */ color: rgb(86, 82, 189);
/* oklch */ color: oklch(50.2% 0.163 280.4);
Tailwind
colors: {
  custom: {
    50: '#8e83d2',
    500: '#5652bd',
    950: '#000000',
  },
}
SCSS
$custom: #5652bd;
$custom-light: #8e83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5652bd",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 242.243,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50178,
    "c": 0.16321,
    "h": 280.4
  },
  "luminance": 0.11687
}

Semantic roles & 50–950 ramp

primary
#5652BD
secondary
#CBCC9E
accent
#D453D0
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5652BD

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

Preview Lab → · Contrast checker → · Palette generator →

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