#5B52E2#5B52E2

#5B52E2 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.5% C 0.211 H 279.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5B52E2
RGBrgb(91, 82, 226)
HSLhsl(244, 71%, 60%)
HSVhsv(244, 64%, 89%)
CMYKcmyk(59.7%, 63.7%, 0%, 11.4%)
CIE-LABlab(43.87, 44.48, -72.21)
CIE-LCHlch(43.87, 84.80, 301.63°)
OKLaboklab(53.47% 0.0341 -0.2079)
OKLCHoklch(53.47% 0.211 279.3)
XYZxyz(21.0548, 13.7482, 73.4809)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B52E2 #D9E252
analogous
#5291E2 #5B52E2 #A352E2
triadic
#5B52E2 #E25B52 #52E25B
tetradic
#5B52E2 #E25291 #D9E252 #52E2A3
square
#5B52E2 #E25291 #D9E252 #52E2A3
split-complementary
#5B52E2 #E2A352 #91E252
monochromatic
#231B9F #2E23D3 #5B52E2 #8D86EB #BEBBF4

Accessibility & contrast

On white

5.60
#5B52E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5B52E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B52E2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B52E2#FFFFFF#000000##FFFFFF
##5B52E21.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#007693
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5b52e2;
/* rgb */ color: rgb(91, 82, 226);
/* oklch */ color: oklch(53.5% 0.211 279.3);
Tailwind
colors: {
  custom: {
    50: '#9783ec',
    500: '#5b52e2',
    950: '#000000',
  },
}
SCSS
$custom: #5b52e2;
$custom-light: #9783ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5b52e2",
  "rgb": {
    "r": 91,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 243.75,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53466,
    "c": 0.21065,
    "h": 279.3
  },
  "luminance": 0.1375
}

Semantic roles & 50–950 ramp

primary
#5B52E2
secondary
#E0E3AC
accent
#D312C7
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5B52E2

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

Preview Lab → · Contrast checker → · Palette generator →

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