#5352DC#5352DC

#5352DC is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.4% C 0.205 H 277.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5352DC
RGBrgb(83, 82, 220)
HSLhsl(240, 66%, 59%)
HSVhsv(240, 63%, 86%)
CMYKcmyk(62.3%, 62.7%, 0%, 13.7%)
CIE-LABlab(42.82, 41.34, -70.52)
CIE-LCHlch(42.82, 81.75, 300.38°)
OKLaboklab(52.41% 0.0249 -0.2031)
OKLCHoklch(52.41% 0.205 277)
XYZxyz(19.4987, 13.0393, 69.1856)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5352DC #DBDC52
analogous
#5296DC #5352DC #9852DC
triadic
#5352DC #DC5352 #52DC53
tetradic
#5352DC #DC5296 #DBDC52 #52DC98
square
#5352DC #DC5296 #DBDC52 #52DC98
split-complementary
#5352DC #DC9852 #96DC52
monochromatic
#1F1E95 #2A29C8 #5352DC #8685E6 #B8B8F1

Accessibility & contrast

On white

5.82
#5352DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5352DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5352DC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5352DC#FFFFFF#000000##FFFFFF
##5352DC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#00758F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5352dc;
/* rgb */ color: rgb(83, 82, 220);
/* oklch */ color: oklch(52.4% 0.205 277.0);
Tailwind
colors: {
  custom: {
    50: '#9283e8',
    500: '#5352dc',
    950: '#000000',
  },
}
SCSS
$custom: #5352dc;
$custom-light: #9283e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5352dc",
  "rgb": {
    "r": 83,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 240.435,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52407,
    "c": 0.20467,
    "h": 277
  },
  "luminance": 0.13041
}

Semantic roles & 50–950 ramp

primary
#5352DC
secondary
#DFE0AA
accent
#E93FE8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5352DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5352DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva