#5B52EA#5B52EA

#5B52EA is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.1% C 0.221 H 278.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5B52EA
RGBrgb(91, 82, 234)
HSLhsl(244, 78%, 62%)
HSVhsv(244, 65%, 92%)
CMYKcmyk(61.1%, 65%, 0%, 8.2%)
CIE-LABlab(44.51, 46.98, -75.68)
CIE-LCHlch(44.51, 89.08, 301.83°)
OKLaboklab(54.13% 0.0333 -0.2181)
OKLCHoklch(54.13% 0.221 278.7)
XYZxyz(22.1782, 14.1975, 79.3976)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B52EA #E1EA52
analogous
#5295EA #5B52EA #A752EA
triadic
#5B52EA #EA5B52 #52EA5B
tetradic
#5B52EA #EA5295 #E1EA52 #52EAA7
square
#5B52EA #EA5295 #E1EA52 #52EAA7
split-complementary
#5B52EA #EAA752 #95EA52
monochromatic
#1E15AD #271CE3 #5B52EA #8F89F1 #C2BFF7

Accessibility & contrast

On white

5.47
#5B52EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5B52EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B52EA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B52EA#FFFFFF#000000##FFFFFF
##5B52EA1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEF
Deuteranopia (green-blind)
#0063E7
Tritanopia (blue-blind)
#007997
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5b52ea;
/* rgb */ color: rgb(91, 82, 234);
/* oklch */ color: oklch(54.1% 0.221 278.7);
Tailwind
colors: {
  custom: {
    50: '#9883f2',
    500: '#5b52ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b52ea;
$custom-light: #9883f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b52ea",
  "rgb": {
    "r": 91,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 243.553,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54134,
    "c": 0.22059,
    "h": 278.7
  },
  "luminance": 0.14199
}

Semantic roles & 50–950 ramp

primary
#5B52EA
secondary
#E5E8B0
accent
#DB0BCE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B52EA

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

Preview Lab → · Contrast checker → · Palette generator →

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