#5B52DA#5B52DA

#5B52DA is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.8% C 0.201 H 280.0°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5B52DA
RGBrgb(91, 82, 218)
HSLhsl(244, 65%, 59%)
HSVhsv(244, 62%, 85%)
CMYKcmyk(58.3%, 62.4%, 0%, 14.5%)
CIE-LABlab(43.24, 41.96, -68.68)
CIE-LCHlch(43.24, 80.48, 301.43°)
OKLaboklab(52.81% 0.0348 -0.1975)
OKLCHoklch(52.81% 0.201 280)
XYZxyz(19.9826, 13.3193, 67.8340)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B52DA #D1DA52
analogous
#528DDA #5B52DA #9F52DA
triadic
#5B52DA #DA5B52 #52DA5B
tetradic
#5B52DA #DA528D #D1DA52 #52DA9F
square
#5B52DA #DA528D #D1DA52 #52DA9F
split-complementary
#5B52DA #DA9F52 #8DDA52
monochromatic
#271F92 #342AC5 #5B52DA #8B84E5 #BBB7F0

Accessibility & contrast

On white

5.73
#5B52DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5B52DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B52DA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B52DA#FFFFFF#000000##FFFFFF
##5B52DA1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#0061D7
Tritanopia (blue-blind)
#00748E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5b52da;
/* rgb */ color: rgb(91, 82, 218);
/* oklch */ color: oklch(52.8% 0.201 280.0);
Tailwind
colors: {
  custom: {
    50: '#9583e6',
    500: '#5b52da',
    950: '#000000',
  },
}
SCSS
$custom: #5b52da;
$custom-light: #9583e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b52da",
  "rgb": {
    "r": 91,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 243.971,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52811,
    "c": 0.20054,
    "h": 280
  },
  "luminance": 0.13321
}

Semantic roles & 50–950 ramp

primary
#5B52DA
secondary
#DBDFA9
accent
#E840DD
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5B52DA

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

Preview Lab → · Contrast checker → · Palette generator →

#5B52DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva