#5B52EB#5B52EB

#5B52EB is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.2% C 0.222 H 278.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5B52EB
RGBrgb(91, 82, 235)
HSLhsl(244, 79%, 62%)
HSVhsv(244, 65%, 92%)
CMYKcmyk(61.3%, 65.1%, 0%, 7.8%)
CIE-LABlab(44.60, 47.29, -76.11)
CIE-LCHlch(44.60, 89.61, 301.86°)
OKLaboklab(54.22% 0.0332 -0.2193)
OKLCHoklch(54.22% 0.222 278.6)
XYZxyz(22.3223, 14.2552, 80.1564)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B52EB #E2EB52
analogous
#5296EB #5B52EB #A752EB
triadic
#5B52EB #EB5B52 #52EB5B
tetradic
#5B52EB #EB5296 #E2EB52 #52EBA7
square
#5B52EB #EB5296 #E2EB52 #52EBA7
split-complementary
#5B52EB #EBA752 #96EB52
monochromatic
#1D14AE #271BE5 #5B52EB #8F89F1 #C3C0F8

Accessibility & contrast

On white

5.45
#5B52EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5B52EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B52EB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B52EB#FFFFFF#000000##FFFFFF
##5B52EB1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F0
Deuteranopia (green-blind)
#0063E8
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5b52eb;
/* rgb */ color: rgb(91, 82, 235);
/* oklch */ color: oklch(54.2% 0.222 278.6);
Tailwind
colors: {
  custom: {
    50: '#9883f3',
    500: '#5b52eb',
    950: '#000000',
  },
}
SCSS
$custom: #5b52eb;
$custom-light: #9883f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b52eb",
  "rgb": {
    "r": 91,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 243.529,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54219,
    "c": 0.22183,
    "h": 278.6
  },
  "luminance": 0.14257
}

Semantic roles & 50–950 ramp

primary
#5B52EB
secondary
#E5E8B0
accent
#DC0ACF
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B52EB

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

Preview Lab → · Contrast checker → · Palette generator →

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