#5352CE#5352CE

#5352CE is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.3% C 0.187 H 277.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5352CE
RGBrgb(83, 82, 206)
HSLhsl(240, 56%, 56%)
HSVhsv(240, 60%, 81%)
CMYKcmyk(59.7%, 60.2%, 0%, 19.2%)
CIE-LABlab(41.73, 36.79, -64.27)
CIE-LCHlch(41.73, 74.06, 299.79°)
OKLaboklab(51.27% 0.0257 -0.1848)
OKLCHoklch(51.27% 0.187 277.9)
XYZxyz(17.7216, 12.3285, 59.8263)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5352CE #CDCE52
analogous
#528FCE #5352CE #9152CE
triadic
#5352CE #CE5352 #52CE53
tetradic
#5352CE #CE528F #CDCE52 #52CE91
square
#5352CE #CE528F #CDCE52 #52CE91
split-complementary
#5352CE #CE9152 #8FCE52
monochromatic
#252581 #3332B1 #5352CE #8282DC #B2B1E9

Accessibility & contrast

On white

6.06
#5352CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5352CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5352CE
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5352CE#FFFFFF#000000##FFFFFF
##5352CE1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5352ce;
/* rgb */ color: rgb(83, 82, 206);
/* oklch */ color: oklch(51.3% 0.187 277.9);
Tailwind
colors: {
  custom: {
    50: '#8f83de',
    500: '#5352ce',
    950: '#000000',
  },
}
SCSS
$custom: #5352ce;
$custom-light: #8f83de;
$custom-dark: #000000;
JSON
{
  "hex": "#5352ce",
  "rgb": {
    "r": 83,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 240.484,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51268,
    "c": 0.18655,
    "h": 277.9
  },
  "luminance": 0.1233
}

Semantic roles & 50–950 ramp

primary
#5352CE
secondary
#D7D7A4
accent
#DF49DE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5352CE

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

Preview Lab → · Contrast checker → · Palette generator →

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