#5352C8#5352C8

#5352C8 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.8% C 0.179 H 278.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5352C8
RGBrgb(83, 82, 200)
HSLhsl(241, 52%, 55%)
HSVhsv(241, 59%, 78%)
CMYKcmyk(58.5%, 59%, 0%, 21.6%)
CIE-LABlab(41.28, 34.84, -61.53)
CIE-LCHlch(41.28, 70.71, 299.52°)
OKLaboklab(50.8% 0.0258 -0.1767)
OKLCHoklch(50.8% 0.179 278.3)
XYZxyz(17.0066, 12.0425, 56.0606)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5352C8 #C7C852
analogous
#528CC8 #5352C8 #8E52C8
triadic
#5352C8 #C85352 #52C853
tetradic
#5352C8 #C8528C #C7C852 #52C88E
square
#5352C8 #C8528C #C7C852 #52C88E
split-complementary
#5352C8 #C88E52 #8CC852
monochromatic
#272779 #3635A8 #5352C8 #8180D7 #AFAFE6

Accessibility & contrast

On white

6.16
#5352C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5352C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5352C8
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5352C8#FFFFFF#000000##FFFFFF
##5352C81.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5352c8;
/* rgb */ color: rgb(83, 82, 200);
/* oklch */ color: oklch(50.8% 0.179 278.3);
Tailwind
colors: {
  custom: {
    50: '#8e83da',
    500: '#5352c8',
    950: '#000000',
  },
}
SCSS
$custom: #5352c8;
$custom-light: #8e83da;
$custom-dark: #000000;
JSON
{
  "hex": "#5352c8",
  "rgb": {
    "r": 83,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 240.508,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50795,
    "c": 0.17862,
    "h": 278.3
  },
  "luminance": 0.12044
}

Semantic roles & 50–950 ramp

primary
#5352C8
secondary
#D3D4A2
accent
#DB4DDA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5352C8

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

Preview Lab → · Contrast checker → · Palette generator →

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