#5352E4#5352E4

#5352E4 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.1% C 0.215 H 276.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5352E4
RGBrgb(83, 82, 228)
HSLhsl(240, 73%, 61%)
HSVhsv(240, 64%, 89%)
CMYKcmyk(63.6%, 64%, 0%, 10.6%)
CIE-LABlab(43.47, 43.93, -74.02)
CIE-LCHlch(43.47, 86.08, 300.69°)
OKLaboklab(53.08% 0.0243 -0.2134)
OKLCHoklch(53.08% 0.215 276.5)
XYZxyz(20.5836, 13.4733, 74.8996)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5352E4 #E3E452
analogous
#529AE4 #5352E4 #9C52E4
triadic
#5352E4 #E45352 #52E453
tetradic
#5352E4 #E4529A #E3E452 #52E49C
square
#5352E4 #E4529A #E3E452 #52E49C
split-complementary
#5352E4 #E49C52 #9AE452
monochromatic
#1A19A2 #2322D7 #5352E4 #8887EC #BCBCF5

Accessibility & contrast

On white

5.68
#5352E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5352E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5352E4
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5352E4#FFFFFF#000000##FFFFFF
##5352E41.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5352e4;
/* rgb */ color: rgb(83, 82, 228);
/* oklch */ color: oklch(53.1% 0.215 276.5);
Tailwind
colors: {
  custom: {
    50: '#9383ee',
    500: '#5352e4',
    950: '#000000',
  },
}
SCSS
$custom: #5352e4;
$custom-light: #9383ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5352e4",
  "rgb": {
    "r": 83,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 240.411,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53079,
    "c": 0.21479,
    "h": 276.5
  },
  "luminance": 0.13475
}

Semantic roles & 50–950 ramp

primary
#5352E4
secondary
#E4E5AD
accent
#D510D4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5352E4

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

Preview Lab → · Contrast checker → · Palette generator →

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