#5352E1#5352E1

#5352E1 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.8% C 0.211 H 276.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5352E1
RGBrgb(83, 82, 225)
HSLhsl(240, 70%, 60%)
HSVhsv(240, 64%, 88%)
CMYKcmyk(63.1%, 63.6%, 0%, 11.8%)
CIE-LABlab(43.22, 42.96, -72.72)
CIE-LCHlch(43.22, 84.46, 300.58°)
OKLaboklab(52.83% 0.0246 -0.2096)
OKLCHoklch(52.83% 0.211 276.7)
XYZxyz(20.1708, 13.3082, 72.7253)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5352E1 #E0E152
analogous
#5298E1 #5352E1 #9B52E1
triadic
#5352E1 #E15352 #52E153
tetradic
#5352E1 #E15298 #E0E152 #52E19B
square
#5352E1 #E15298 #E0E152 #52E19B
split-complementary
#5352E1 #E19B52 #98E152
monochromatic
#1C1B9D #2624D1 #5352E1 #8786EA #BBBAF3

Accessibility & contrast

On white

5.73
#5352E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5352E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5352E1
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5352E1#FFFFFF#000000##FFFFFF
##5352E11.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#0060DE
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5352e1;
/* rgb */ color: rgb(83, 82, 225);
/* oklch */ color: oklch(52.8% 0.211 276.7);
Tailwind
colors: {
  custom: {
    50: '#9283eb',
    500: '#5352e1',
    950: '#000000',
  },
}
SCSS
$custom: #5352e1;
$custom-light: #9283eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5352e1",
  "rgb": {
    "r": 83,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 240.42,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.52825,
    "c": 0.21101,
    "h": 276.7
  },
  "luminance": 0.1331
}

Semantic roles & 50–950 ramp

primary
#5352E1
secondary
#E2E3AC
accent
#D213D1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5352E1

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

Preview Lab → · Contrast checker → · Palette generator →

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