#5352C2#5352C2

#5352C2 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.3% C 0.171 H 278.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5352C2
RGBrgb(83, 82, 194)
HSLhsl(241, 48%, 54%)
HSVhsv(241, 58%, 76%)
CMYKcmyk(57.2%, 57.7%, 0%, 23.9%)
CIE-LABlab(40.84, 32.88, -58.76)
CIE-LCHlch(40.84, 67.34, 299.23°)
OKLaboklab(50.33% 0.0259 -0.1686)
OKLCHoklch(50.33% 0.171 278.7)
XYZxyz(16.3191, 11.7675, 52.4399)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5352C2 #C1C252
analogous
#5289C2 #5352C2 #8B52C2
triadic
#5352C2 #C25352 #52C253
tetradic
#5352C2 #C25289 #C1C252 #52C28B
square
#5352C2 #C25289 #C1C252 #52C28B
split-complementary
#5352C2 #C28B52 #89C252
monochromatic
#292872 #39389F #5352C2 #807FD2 #ADACE2

Accessibility & contrast

On white

6.26
#5352C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5352C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5352C2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5352C2#FFFFFF#000000##FFFFFF
##5352C21.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#116C82
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5352c2;
/* rgb */ color: rgb(83, 82, 194);
/* oklch */ color: oklch(50.3% 0.171 278.7);
Tailwind
colors: {
  custom: {
    50: '#8d82d5',
    500: '#5352c2',
    950: '#000000',
  },
}
SCSS
$custom: #5352c2;
$custom-light: #8d82d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5352c2",
  "rgb": {
    "r": 83,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 240.536,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50331,
    "c": 0.17057,
    "h": 278.7
  },
  "luminance": 0.11769
}

Semantic roles & 50–950 ramp

primary
#5352C2
secondary
#CFD0A0
accent
#D750D6
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5352C2

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

Preview Lab → · Contrast checker → · Palette generator →

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