#5B53E7#5B53E7

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

Color values

HEX#5B53E7
RGBrgb(91, 83, 231)
HSLhsl(243, 76%, 62%)
HSVhsv(243, 64%, 91%)
CMYKcmyk(60.6%, 64.1%, 0%, 9.4%)
CIE-LABlab(44.49, 45.46, -74.03)
CIE-LCHlch(44.49, 86.88, 301.56°)
OKLaboklab(54.04% 0.0328 -0.2132)
OKLCHoklch(54.04% 0.216 278.8)
XYZxyz(21.8268, 14.1785, 77.1723)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B53E7 #DFE753
analogous
#5395E7 #5B53E7 #A553E7
triadic
#5B53E7 #E75B53 #53E75B
tetradic
#5B53E7 #E75395 #DFE753 #53E7A5
square
#5B53E7 #E75395 #DFE753 #53E7A5
split-complementary
#5B53E7 #E7A553 #95E753
monochromatic
#1F17A8 #291FDE #5B53E7 #8E89EE #C1BEF6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B53E7#FFFFFF#000000##FFFFFF
##5B53E71.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)
#006FEC
Deuteranopia (green-blind)
#0063E4
Tritanopia (blue-blind)
#007996
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5b53e7;
/* rgb */ color: rgb(91, 83, 231);
/* oklch */ color: oklch(54.0% 0.216 278.8);
Tailwind
colors: {
  custom: {
    50: '#9784f0',
    500: '#5b53e7',
    950: '#000000',
  },
}
SCSS
$custom: #5b53e7;
$custom-light: #9784f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b53e7",
  "rgb": {
    "r": 91,
    "g": 83,
    "b": 231
  },
  "hsl": {
    "h": 243.243,
    "s": 75.51,
    "l": 61.569
  },
  "oklch": {
    "l": 0.5404,
    "c": 0.21573,
    "h": 278.8
  },
  "luminance": 0.1418
}

Semantic roles & 50–950 ramp

primary
#5B53E7
secondary
#E3E6AF
accent
#D80ECD
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B53E7

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

Preview Lab → · Contrast checker → · Palette generator →

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