#5352DB#5352DB

#5352DB is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.3% C 0.203 H 277.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5352DB
RGBrgb(83, 82, 219)
HSLhsl(240, 66%, 59%)
HSVhsv(240, 63%, 86%)
CMYKcmyk(62.1%, 62.6%, 0%, 14.1%)
CIE-LABlab(42.74, 41.02, -70.08)
CIE-LCHlch(42.74, 81.21, 300.34°)
OKLaboklab(52.32% 0.025 -0.2019)
OKLCHoklch(52.32% 0.203 277.1)
XYZxyz(19.3666, 12.9865, 68.4902)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5352DB #DADB52
analogous
#5296DB #5352DB #9852DB
triadic
#5352DB #DB5352 #52DB53
tetradic
#5352DB #DB5296 #DADB52 #52DB98
square
#5352DB #DB5296 #DADB52 #52DB98
split-complementary
#5352DB #DB9852 #96DB52
monochromatic
#201F94 #2A29C6 #5352DB #8585E6 #B8B7F0

Accessibility & contrast

On white

5.84
#5352DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5352DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5352DB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5352DB#FFFFFF#000000##FFFFFF
##5352DB1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#00758F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5352db;
/* rgb */ color: rgb(83, 82, 219);
/* oklch */ color: oklch(52.3% 0.203 277.1);
Tailwind
colors: {
  custom: {
    50: '#9183e7',
    500: '#5352db',
    950: '#000000',
  },
}
SCSS
$custom: #5352db;
$custom-light: #9183e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5352db",
  "rgb": {
    "r": 83,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 240.438,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52324,
    "c": 0.2034,
    "h": 277.1
  },
  "luminance": 0.12988
}

Semantic roles & 50–950 ramp

primary
#5352DB
secondary
#DFDFAA
accent
#E93FE7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5352DB

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

Preview Lab → · Contrast checker → · Palette generator →

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