#5352CC#5352CC

#5352CC is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.184 H 278.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5352CC
RGBrgb(83, 82, 204)
HSLhsl(240, 54%, 56%)
HSVhsv(240, 60%, 80%)
CMYKcmyk(59.3%, 59.8%, 0%, 20%)
CIE-LABlab(41.58, 36.14, -63.36)
CIE-LCHlch(41.58, 72.94, 299.70°)
OKLaboklab(51.11% 0.0257 -0.1821)
OKLCHoklch(51.11% 0.184 278)
XYZxyz(17.4802, 12.2319, 58.5549)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5352CC #CBCC52
analogous
#528ECC #5352CC #9052CC
triadic
#5352CC #CC5352 #52CC53
tetradic
#5352CC #CC528E #CBCC52 #52CC90
square
#5352CC #CC528E #CBCC52 #52CC90
split-complementary
#5352CC #CC9052 #8ECC52
monochromatic
#26257E #3433AE #5352CC #8281DA #B1B1E8

Accessibility & contrast

On white

6.09
#5352CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5352CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5352CC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5352CC#FFFFFF#000000##FFFFFF
##5352CC1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5352cc;
/* rgb */ color: rgb(83, 82, 204);
/* oklch */ color: oklch(51.1% 0.184 278.0);
Tailwind
colors: {
  custom: {
    50: '#8f83dc',
    500: '#5352cc',
    950: '#000000',
  },
}
SCSS
$custom: #5352cc;
$custom-light: #8f83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5352cc",
  "rgb": {
    "r": 83,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 240.492,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51109,
    "c": 0.18392,
    "h": 278
  },
  "luminance": 0.12233
}

Semantic roles & 50–950 ramp

primary
#5352CC
secondary
#D6D6A4
accent
#DE4ADD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5352CC

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

Preview Lab → · Contrast checker → · Palette generator →

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