#5652A2#5652A2

#5652A2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.3% C 0.125 H 282.9°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5652A2
RGBrgb(86, 82, 162)
HSLhsl(243, 33%, 48%)
HSVhsv(243, 49%, 64%)
CMYKcmyk(46.9%, 49.4%, 0%, 36.5%)
CIE-LABlab(38.93, 23.28, -42.96)
CIE-LCHlch(38.93, 48.87, 298.45°)
OKLaboklab(48.28% 0.028 -0.122)
OKLCHoklch(48.28% 0.125 282.9)
XYZxyz(13.3747, 10.6210, 35.5207)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652A2 #9EA252
analogous
#5276A2 #5652A2 #7E52A2
triadic
#5652A2 #A25652 #52A256
tetradic
#5652A2 #A25276 #9EA252 #52A27E
square
#5652A2 #A25276 #9EA252 #52A27E
split-complementary
#5652A2 #A27E52 #76A252
monochromatic
#2B2951 #403D79 #5652A2 #7A77BA #A2A0CF

Accessibility & contrast

On white

6.72
#5652A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5652A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5652A2#FFFFFF#000000##FFFFFF
##5652A21.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5EA5
Deuteranopia (green-blind)
#2B59A0
Tritanopia (blue-blind)
#3C6372
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5652a2;
/* rgb */ color: rgb(86, 82, 162);
/* oklch */ color: oklch(48.3% 0.125 282.9);
Tailwind
colors: {
  custom: {
    50: '#8a82be',
    500: '#5652a2',
    950: '#000000',
  },
}
SCSS
$custom: #5652a2;
$custom-light: #8a82be;
$custom-dark: #000000;
JSON
{
  "hex": "#5652a2",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 243,
    "s": 32.787,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4828,
    "c": 0.12521,
    "h": 282.9
  },
  "luminance": 0.10622
}

Semantic roles & 50–950 ramp

primary
#5652A2
secondary
#BABC94
accent
#C95FC4
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #5652A2

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

Preview Lab → · Contrast checker → · Palette generator →

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