#5352D4#5352D4

#5352D4 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.8% C 0.194 H 277.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5352D4
RGBrgb(83, 82, 212)
HSLhsl(240, 60%, 58%)
HSVhsv(240, 61%, 83%)
CMYKcmyk(60.8%, 61.3%, 0%, 16.9%)
CIE-LABlab(42.19, 38.75, -66.97)
CIE-LCHlch(42.19, 77.37, 300.05°)
OKLaboklab(51.75% 0.0254 -0.1927)
OKLCHoklch(51.75% 0.194 277.5)
XYZxyz(18.4644, 12.6256, 63.7386)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5352D4 #D3D452
analogous
#5292D4 #5352D4 #9452D4
triadic
#5352D4 #D45352 #52D453
tetradic
#5352D4 #D45292 #D3D452 #52D494
square
#5352D4 #D45292 #D3D452 #52D494
split-complementary
#5352D4 #D49452 #92D452
monochromatic
#232289 #2F2EBA #5352D4 #8483E0 #B4B4EC

Accessibility & contrast

On white

5.96
#5352D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5352D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5352D4
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5352D4#FFFFFF#000000##FFFFFF
##5352D41.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#005ED1
Tritanopia (blue-blind)
#00728B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5352d4;
/* rgb */ color: rgb(83, 82, 212);
/* oklch */ color: oklch(51.8% 0.194 277.5);
Tailwind
colors: {
  custom: {
    50: '#9083e2',
    500: '#5352d4',
    950: '#000000',
  },
}
SCSS
$custom: #5352d4;
$custom-light: #9083e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5352d4",
  "rgb": {
    "r": 83,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 240.462,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51751,
    "c": 0.19439,
    "h": 277.5
  },
  "luminance": 0.12627
}

Semantic roles & 50–950 ramp

primary
#5352D4
secondary
#DBDBA7
accent
#E344E2
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #5352D4

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

Preview Lab → · Contrast checker → · Palette generator →

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