#5B52EC#5B52EC

#5B52EC is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.3% C 0.223 H 278.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5B52EC
RGBrgb(91, 82, 236)
HSLhsl(244, 80%, 62%)
HSVhsv(244, 65%, 93%)
CMYKcmyk(61.4%, 65.3%, 0%, 7.5%)
CIE-LABlab(44.68, 47.61, -76.54)
CIE-LCHlch(44.68, 90.14, 301.88°)
OKLaboklab(54.3% 0.0331 -0.2206)
OKLCHoklch(54.3% 0.223 278.5)
XYZxyz(22.4671, 14.3131, 80.9194)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B52EC #E3EC52
analogous
#5296EC #5B52EC #A852EC
triadic
#5B52EC #EC5B52 #52EC5B
tetradic
#5B52EC #EC5296 #E3EC52 #52ECA8
square
#5B52EC #EC5296 #E3EC52 #52ECA8
split-complementary
#5B52EC #ECA852 #96EC52
monochromatic
#1D13B0 #271BE6 #5B52EC #8F89F2 #C4C0F8

Accessibility & contrast

On white

5.44
#5B52EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5B52EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B52EC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B52EC#FFFFFF#000000##FFFFFF
##5B52EC1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F1
Deuteranopia (green-blind)
#0063E9
Tritanopia (blue-blind)
#007A98
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5b52ec;
/* rgb */ color: rgb(91, 82, 236);
/* oklch */ color: oklch(54.3% 0.223 278.5);
Tailwind
colors: {
  custom: {
    50: '#9884f3',
    500: '#5b52ec',
    950: '#000000',
  },
}
SCSS
$custom: #5b52ec;
$custom-light: #9884f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b52ec",
  "rgb": {
    "r": 91,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 243.506,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54304,
    "c": 0.22306,
    "h": 278.5
  },
  "luminance": 0.14315
}

Semantic roles & 50–950 ramp

primary
#5B52EC
secondary
#E6E9B1
accent
#DD09D0
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B52EC

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

Preview Lab → · Contrast checker → · Palette generator →

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