#5352D2#5352D2

#5352D2 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.6% C 0.192 H 277.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5352D2
RGBrgb(83, 82, 210)
HSLhsl(240, 59%, 57%)
HSVhsv(240, 61%, 82%)
CMYKcmyk(60.5%, 61%, 0%, 17.6%)
CIE-LABlab(42.04, 38.10, -66.07)
CIE-LCHlch(42.04, 76.27, 299.97°)
OKLaboklab(51.59% 0.0255 -0.1901)
OKLCHoklch(51.59% 0.192 277.6)
XYZxyz(18.2137, 12.5253, 62.4181)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5352D2 #D1D252
analogous
#5291D2 #5352D2 #9352D2
triadic
#5352D2 #D25352 #52D253
tetradic
#5352D2 #D25291 #D1D252 #52D293
square
#5352D2 #D25291 #D1D252 #52D293
split-complementary
#5352D2 #D29352 #91D252
monochromatic
#242387 #3130B7 #5352D2 #8383DF #B4B3EB

Accessibility & contrast

On white

5.99
#5352D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5352D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5352D2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5352D2#FFFFFF#000000##FFFFFF
##5352D21.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5352d2;
/* rgb */ color: rgb(83, 82, 210);
/* oklch */ color: oklch(51.6% 0.192 277.6);
Tailwind
colors: {
  custom: {
    50: '#9083e1',
    500: '#5352d2',
    950: '#000000',
  },
}
SCSS
$custom: #5352d2;
$custom-light: #9083e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5352d2",
  "rgb": {
    "r": 83,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 240.469,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51589,
    "c": 0.19179,
    "h": 277.6
  },
  "luminance": 0.12527
}

Semantic roles & 50–950 ramp

primary
#5352D2
secondary
#D9DAA6
accent
#E246E1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5352D2

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

Preview Lab → · Contrast checker → · Palette generator →

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