#5352D8#5352D8

#5352D8 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 52.1% C 0.200 H 277.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5352D8
RGBrgb(83, 82, 216)
HSLhsl(240, 63%, 58%)
HSVhsv(240, 62%, 85%)
CMYKcmyk(61.6%, 62%, 0%, 15.3%)
CIE-LABlab(42.51, 40.05, -68.75)
CIE-LCHlch(42.51, 79.57, 300.22°)
OKLaboklab(52.08% 0.0252 -0.198)
OKLCHoklch(52.08% 0.2 277.3)
XYZxyz(18.9752, 12.8300, 66.4289)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5352D8 #D7D852
analogous
#5294D8 #5352D8 #9652D8
triadic
#5352D8 #D85352 #52D853
tetradic
#5352D8 #D85294 #D7D852 #52D896
square
#5352D8 #D85294 #D7D852 #52D896
split-complementary
#5352D8 #D89652 #94D852
monochromatic
#21208F #2D2CC1 #5352D8 #8584E3 #B6B6EF

Accessibility & contrast

On white

5.89
#5352D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5352D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5352D8
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5352D8#FFFFFF#000000##FFFFFF
##5352D81.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#005FD5
Tritanopia (blue-blind)
#00748D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5352d8;
/* rgb */ color: rgb(83, 82, 216);
/* oklch */ color: oklch(52.1% 0.200 277.3);
Tailwind
colors: {
  custom: {
    50: '#9183e5',
    500: '#5352d8',
    950: '#000000',
  },
}
SCSS
$custom: #5352d8;
$custom-light: #9183e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5352d8",
  "rgb": {
    "r": 83,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 240.448,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52077,
    "c": 0.19956,
    "h": 277.3
  },
  "luminance": 0.12831
}

Semantic roles & 50–950 ramp

primary
#5352D8
secondary
#DDDDA8
accent
#E642E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5352D8

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

Preview Lab → · Contrast checker → · Palette generator →

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