#5352E2#5352E2

#5352E2 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.9% C 0.212 H 276.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5352E2
RGBrgb(83, 82, 226)
HSLhsl(240, 71%, 60%)
HSVhsv(240, 64%, 89%)
CMYKcmyk(63.3%, 63.7%, 0%, 11.4%)
CIE-LABlab(43.30, 43.29, -73.15)
CIE-LCHlch(43.30, 85.00, 300.61°)
OKLaboklab(52.91% 0.0245 -0.2109)
OKLCHoklch(52.91% 0.212 276.6)
XYZxyz(20.3076, 13.3629, 73.4459)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5352E2 #E1E252
analogous
#5299E2 #5352E2 #9B52E2
triadic
#5352E2 #E25352 #52E253
tetradic
#5352E2 #E25299 #E1E252 #52E29B
square
#5352E2 #E25299 #E1E252 #52E29B
split-complementary
#5352E2 #E29B52 #99E252
monochromatic
#1C1B9F #2523D3 #5352E2 #8786EB #BBBBF4

Accessibility & contrast

On white

5.72
#5352E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5352E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5352E2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5352E2#FFFFFF#000000##FFFFFF
##5352E21.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0060DF
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5352e2;
/* rgb */ color: rgb(83, 82, 226);
/* oklch */ color: oklch(52.9% 0.212 276.6);
Tailwind
colors: {
  custom: {
    50: '#9383ec',
    500: '#5352e2',
    950: '#000000',
  },
}
SCSS
$custom: #5352e2;
$custom-light: #9383ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5352e2",
  "rgb": {
    "r": 83,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 240.417,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5291,
    "c": 0.21228,
    "h": 276.6
  },
  "luminance": 0.13365
}

Semantic roles & 50–950 ramp

primary
#5352E2
secondary
#E3E3AC
accent
#D312D2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5352E2

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

Preview Lab → · Contrast checker → · Palette generator →

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