#5352EA#5352EA

#5352EA is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.6% C 0.222 H 276.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5352EA
RGBrgb(83, 82, 234)
HSLhsl(240, 78%, 62%)
HSVhsv(240, 65%, 92%)
CMYKcmyk(64.5%, 65%, 0%, 8.2%)
CIE-LABlab(43.96, 45.87, -76.61)
CIE-LCHlch(43.96, 89.29, 300.91°)
OKLaboklab(53.59% 0.0238 -0.221)
OKLCHoklch(53.59% 0.222 276.1)
XYZxyz(21.4310, 13.8123, 79.3626)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5352EA #E9EA52
analogous
#529DEA #5352EA #9F52EA
triadic
#5352EA #EA5352 #52EA53
tetradic
#5352EA #EA529D #E9EA52 #52EA9F
square
#5352EA #EA529D #E9EA52 #52EA9F
split-complementary
#5352EA #EA9F52 #9DEA52
monochromatic
#1615AD #1D1CE3 #5352EA #8989F1 #C0BFF7

Accessibility & contrast

On white

5.58
#5352EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5352EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5352EA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5352EA#FFFFFF#000000##FFFFFF
##5352EA1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEF
Deuteranopia (green-blind)
#0061E7
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5352ea;
/* rgb */ color: rgb(83, 82, 234);
/* oklch */ color: oklch(53.6% 0.222 276.1);
Tailwind
colors: {
  custom: {
    50: '#9483f2',
    500: '#5352ea',
    950: '#000000',
  },
}
SCSS
$custom: #5352ea;
$custom-light: #9483f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5352ea",
  "rgb": {
    "r": 83,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 240.395,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.53591,
    "c": 0.22226,
    "h": 276.1
  },
  "luminance": 0.13814
}

Semantic roles & 50–950 ramp

primary
#5352EA
secondary
#E8E8B0
accent
#DB0BD9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5352EA

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

Preview Lab → · Contrast checker → · Palette generator →

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