#5352CD#5352CD

#5352CD is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.2% C 0.185 H 278.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5352CD
RGBrgb(83, 82, 205)
HSLhsl(240, 55%, 56%)
HSVhsv(240, 60%, 80%)
CMYKcmyk(59.5%, 60%, 0%, 19.6%)
CIE-LABlab(41.66, 36.47, -63.82)
CIE-LCHlch(41.66, 73.50, 299.75°)
OKLaboklab(51.19% 0.0257 -0.1834)
OKLCHoklch(51.19% 0.185 278)
XYZxyz(17.6005, 12.2801, 59.1886)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5352CD #CCCD52
analogous
#528FCD #5352CD #9152CD
triadic
#5352CD #CD5352 #52CD53
tetradic
#5352CD #CD528F #CCCD52 #52CD91
square
#5352CD #CD528F #CCCD52 #52CD91
split-complementary
#5352CD #CD9152 #8FCD52
monochromatic
#262580 #3433AF #5352CD #8281DB #B1B1E8

Accessibility & contrast

On white

6.08
#5352CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5352CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5352CD
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5352CD#FFFFFF#000000##FFFFFF
##5352CD1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5352cd;
/* rgb */ color: rgb(83, 82, 205);
/* oklch */ color: oklch(51.2% 0.185 278.0);
Tailwind
colors: {
  custom: {
    50: '#8f83dd',
    500: '#5352cd',
    950: '#000000',
  },
}
SCSS
$custom: #5352cd;
$custom-light: #8f83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5352cd",
  "rgb": {
    "r": 83,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 240.488,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51189,
    "c": 0.18524,
    "h": 278
  },
  "luminance": 0.12281
}

Semantic roles & 50–950 ramp

primary
#5352CD
secondary
#D6D7A4
accent
#DE49DD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5352CD

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

Preview Lab → · Contrast checker → · Palette generator →

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