#5652AE#5652AE

#5652AE is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.1% C 0.142 H 281.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5652AE
RGBrgb(86, 82, 174)
HSLhsl(243, 36%, 50%)
HSVhsv(243, 53%, 68%)
CMYKcmyk(50.6%, 52.9%, 0%, 31.8%)
CIE-LABlab(39.70, 27.06, -48.88)
CIE-LCHlch(39.70, 55.86, 298.97°)
OKLaboklab(49.1% 0.029 -0.1394)
OKLCHoklch(49.1% 0.142 281.7)
XYZxyz(14.4927, 11.0682, 41.4089)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652AE #AAAE52
analogous
#527CAE #5652AE #8452AE
triadic
#5652AE #AE5652 #52AE56
tetradic
#5652AE #AE527C #AAAE52 #52AE84
square
#5652AE #AE527C #AAAE52 #52AE84
split-complementary
#5652AE #AE8452 #7CAE52
monochromatic
#2D2B5B #413E85 #5652AE #7F7CC2 #A7A5D5

Accessibility & contrast

On white

6.53
#5652AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5652AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5652AE#FFFFFF#000000##FFFFFF
##5652AE1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B1
Deuteranopia (green-blind)
#1A5AAC
Tritanopia (blue-blind)
#346678
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5652ae;
/* rgb */ color: rgb(86, 82, 174);
/* oklch */ color: oklch(49.1% 0.142 281.7);
Tailwind
colors: {
  custom: {
    50: '#8c82c7',
    500: '#5652ae',
    950: '#000000',
  },
}
SCSS
$custom: #5652ae;
$custom-light: #8c82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5652ae",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 242.609,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49095,
    "c": 0.1424,
    "h": 281.7
  },
  "luminance": 0.11069
}

Semantic roles & 50–950 ramp

primary
#5652AE
secondary
#C1C299
accent
#CC5CC7
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0A13
muted
#7D7C82

Preview Lab

Preview with #5652AE

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

Preview Lab → · Contrast checker → · Palette generator →

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