#5652DB#5652DB

#5652DB is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.5% C 0.203 H 278.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5652DB
RGBrgb(86, 82, 219)
HSLhsl(242, 66%, 59%)
HSVhsv(242, 63%, 86%)
CMYKcmyk(60.7%, 62.6%, 0%, 14.1%)
CIE-LABlab(42.95, 41.48, -69.73)
CIE-LCHlch(42.95, 81.14, 300.75°)
OKLaboklab(52.53% 0.0286 -0.2008)
OKLCHoklch(52.53% 0.203 278.1)
XYZxyz(19.6371, 13.1260, 68.5029)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652DB #D7DB52
analogous
#5293DB #5652DB #9B52DB
triadic
#5652DB #DB5652 #52DB56
tetradic
#5652DB #DB5293 #D7DB52 #52DB9B
square
#5652DB #DB5293 #D7DB52 #52DB9B
split-complementary
#5652DB #DB9B52 #93DB52
monochromatic
#221F94 #2E29C6 #5652DB #8785E6 #B9B7F0

Accessibility & contrast

On white

5.79
#5652DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5652DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5652DB#FFFFFF#000000##FFFFFF
##5652DB1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#00748F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5652db;
/* rgb */ color: rgb(86, 82, 219);
/* oklch */ color: oklch(52.5% 0.203 278.1);
Tailwind
colors: {
  custom: {
    50: '#9383e7',
    500: '#5652db',
    950: '#000000',
  },
}
SCSS
$custom: #5652db;
$custom-light: #9383e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5652db",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 241.752,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52532,
    "c": 0.20277,
    "h": 278.1
  },
  "luminance": 0.13127
}

Semantic roles & 50–950 ramp

primary
#5652DB
secondary
#DEDFAA
accent
#E93FE4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5652DB

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

Preview Lab → · Contrast checker → · Palette generator →

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