#5352E5#5352E5

#5352E5 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.2% C 0.216 H 276.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5352E5
RGBrgb(83, 82, 229)
HSLhsl(240, 74%, 61%)
HSVhsv(240, 64%, 90%)
CMYKcmyk(63.8%, 64.2%, 0%, 10.2%)
CIE-LABlab(43.55, 44.26, -74.45)
CIE-LCHlch(43.55, 86.61, 300.73°)
OKLaboklab(53.16% 0.0242 -0.2147)
OKLCHoklch(53.16% 0.216 276.4)
XYZxyz(20.7228, 13.5290, 75.6329)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5352E5 #E4E552
analogous
#529AE5 #5352E5 #9C52E5
triadic
#5352E5 #E55352 #52E553
tetradic
#5352E5 #E5529A #E4E552 #52E59C
square
#5352E5 #E5529A #E4E552 #52E59C
split-complementary
#5352E5 #E59C52 #9AE552
monochromatic
#1A19A4 #2221D9 #5352E5 #8887ED #BDBCF5

Accessibility & contrast

On white

5.67
#5352E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5352E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5352E5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5352E5#FFFFFF#000000##FFFFFF
##5352E51.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0060E2
Tritanopia (blue-blind)
#007894
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5352e5;
/* rgb */ color: rgb(83, 82, 229);
/* oklch */ color: oklch(53.2% 0.216 276.4);
Tailwind
colors: {
  custom: {
    50: '#9383ee',
    500: '#5352e5',
    950: '#000000',
  },
}
SCSS
$custom: #5352e5;
$custom-light: #9383ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5352e5",
  "rgb": {
    "r": 83,
    "g": 82,
    "b": 229
  },
  "hsl": {
    "h": 240.408,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53164,
    "c": 0.21604,
    "h": 276.4
  },
  "luminance": 0.13531
}

Semantic roles & 50–950 ramp

primary
#5352E5
secondary
#E5E5AE
accent
#D610D5
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #5352E5

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

Preview Lab → · Contrast checker → · Palette generator →

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