#5652BA#5652BA

#5652BA is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.0% C 0.159 H 280.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5652BA
RGBrgb(86, 82, 186)
HSLhsl(242, 43%, 53%)
HSVhsv(242, 56%, 73%)
CMYKcmyk(53.8%, 55.9%, 0%, 27.1%)
CIE-LABlab(40.50, 30.88, -54.63)
CIE-LCHlch(40.50, 62.76, 299.48°)
OKLaboklab(49.96% 0.0295 -0.1564)
OKLCHoklch(49.96% 0.159 280.7)
XYZxyz(15.7152, 11.5572, 47.8475)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652BA #B6BA52
analogous
#5282BA #5652BA #8A52BA
triadic
#5652BA #BA5652 #52BA56
tetradic
#5652BA #BA5282 #B6BA52 #52BA8A
square
#5652BA #BA5282 #B6BA52 #52BA8A
split-complementary
#5652BA #BA8A52 #82BA52
monochromatic
#2C2A68 #3E3B94 #5652BA #817ECB #ABAADD

Accessibility & contrast

On white

6.34
#5652BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5652BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5652BA#FFFFFF#000000##FFFFFF
##5652BA1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0863BE
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#296A7E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5652ba;
/* rgb */ color: rgb(86, 82, 186);
/* oklch */ color: oklch(50.0% 0.159 280.7);
Tailwind
colors: {
  custom: {
    50: '#8e82cf',
    500: '#5652ba',
    950: '#000000',
  },
}
SCSS
$custom: #5652ba;
$custom-light: #8e82cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5652ba",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 242.308,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49956,
    "c": 0.15911,
    "h": 280.7
  },
  "luminance": 0.11558
}

Semantic roles & 50–950 ramp

primary
#5652BA
secondary
#C9CA9D
accent
#D355CE
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5652BA

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

Preview Lab → · Contrast checker → · Palette generator →

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