#5B52EE#5B52EE

#5B52EE is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.5% C 0.226 H 278.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5B52EE
RGBrgb(91, 82, 238)
HSLhsl(243, 82%, 63%)
HSVhsv(243, 66%, 93%)
CMYKcmyk(61.8%, 65.5%, 0%, 6.7%)
CIE-LABlab(44.84, 48.23, -77.40)
CIE-LCHlch(44.84, 91.20, 301.93°)
OKLaboklab(54.47% 0.0329 -0.2231)
OKLCHoklch(54.47% 0.226 278.4)
XYZxyz(22.7593, 14.4300, 82.4583)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B52EE #E5EE52
analogous
#5297EE #5B52EE #A952EE
triadic
#5B52EE #EE5B52 #52EE5B
tetradic
#5B52EE #EE5297 #E5EE52 #52EEA9
square
#5B52EE #EE5297 #E5EE52 #52EEA9
split-complementary
#5B52EE #EEA952 #97EE52
monochromatic
#1B12B4 #261AE9 #5B52EE #908AF3 #C5C1F9

Accessibility & contrast

On white

5.40
#5B52EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5B52EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B52EE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B52EE#FFFFFF#000000##FFFFFF
##5B52EE1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F3
Deuteranopia (green-blind)
#0064EB
Tritanopia (blue-blind)
#007B99
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5b52ee;
/* rgb */ color: rgb(91, 82, 238);
/* oklch */ color: oklch(54.5% 0.226 278.4);
Tailwind
colors: {
  custom: {
    50: '#9984f5',
    500: '#5b52ee',
    950: '#000000',
  },
}
SCSS
$custom: #5b52ee;
$custom-light: #9984f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b52ee",
  "rgb": {
    "r": 91,
    "g": 82,
    "b": 238
  },
  "hsl": {
    "h": 243.462,
    "s": 82.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54474,
    "c": 0.22551,
    "h": 278.4
  },
  "luminance": 0.14432
}

Semantic roles & 50–950 ramp

primary
#5B52EE
secondary
#E7EAB2
accent
#DE07D2
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B52EE

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

Preview Lab → · Contrast checker → · Palette generator →

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