#5652AA#5652AA

#5652AA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.8% C 0.137 H 282.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#5652AA
RGBrgb(86, 82, 170)
HSLhsl(243, 35%, 49%)
HSVhsv(243, 52%, 67%)
CMYKcmyk(49.4%, 51.8%, 0%, 33.3%)
CIE-LABlab(39.44, 25.79, -46.92)
CIE-LCHlch(39.44, 53.54, 298.79°)
OKLaboklab(48.82% 0.0287 -0.1337)
OKLCHoklch(48.82% 0.137 282.1)
XYZxyz(14.1086, 10.9146, 39.3857)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652AA #A6AA52
analogous
#527AAA #5652AA #8252AA
triadic
#5652AA #AA5652 #52AA56
tetradic
#5652AA #AA527A #A6AA52 #52AA82
square
#5652AA #AA527A #A6AA52 #52AA82
split-complementary
#5652AA #AA8252 #7AAA52
monochromatic
#2C2A57 #413E81 #5652AA #7D7ABF #A6A4D3

Accessibility & contrast

On white

6.60
#5652AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5652AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5652AA#FFFFFF#000000##FFFFFF
##5652AA1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AD
Deuteranopia (green-blind)
#215AA8
Tritanopia (blue-blind)
#376576
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5652aa;
/* rgb */ color: rgb(86, 82, 170);
/* oklch */ color: oklch(48.8% 0.137 282.1);
Tailwind
colors: {
  custom: {
    50: '#8b82c4',
    500: '#5652aa',
    950: '#000000',
  },
}
SCSS
$custom: #5652aa;
$custom-light: #8b82c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5652aa",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 242.727,
    "s": 34.921,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48818,
    "c": 0.13673,
    "h": 282.1
  },
  "luminance": 0.10915
}

Semantic roles & 50–950 ramp

primary
#5652AA
secondary
#BEC098
accent
#CB5DC6
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #5652AA

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

Preview Lab → · Contrast checker → · Palette generator →

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