#5352CB#5352CB

#5352CB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.0% C 0.183 H 278.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5352CB
RGBrgb(83, 82, 203)
HSLhsl(240, 54%, 56%)
HSVhsv(240, 60%, 80%)
CMYKcmyk(59.1%, 59.6%, 0%, 20.4%)
CIE-LABlab(41.51, 35.81, -62.91)
CIE-LCHlch(41.51, 72.39, 299.65°)
OKLaboklab(51.03% 0.0258 -0.1808)
OKLCHoklch(51.03% 0.183 278.1)
XYZxyz(17.3606, 12.1841, 57.9253)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5352CB #CACB52
analogous
#528DCB #5352CB #8F52CB
triadic
#5352CB #CB5352 #52CB53
tetradic
#5352CB #CB528D #CACB52 #52CB8F
square
#5352CB #CB528D #CACB52 #52CB8F
split-complementary
#5352CB #CB8F52 #8DCB52
monochromatic
#26267D #3534AC #5352CB #8281D9 #B1B0E7

Accessibility & contrast

On white

6.11
#5352CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5352CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5352CB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5352CB#FFFFFF#000000##FFFFFF
##5352CB1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5352cb;
/* rgb */ color: rgb(83, 82, 203);
/* oklch */ color: oklch(51.0% 0.183 278.1);
Tailwind
colors: {
  custom: {
    50: '#8f83dc',
    500: '#5352cb',
    950: '#000000',
  },
}
SCSS
$custom: #5352cb;
$custom-light: #8f83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5352cb",
  "rgb": {
    "r": 83,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 240.496,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5103,
    "c": 0.1826,
    "h": 278.1
  },
  "luminance": 0.12185
}

Semantic roles & 50–950 ramp

primary
#5352CB
secondary
#D5D5A3
accent
#DD4BDC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5352CB

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

Preview Lab → · Contrast checker → · Palette generator →

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