#5B54EE#5B54EE

#5B54EE is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.8% C 0.223 H 278.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5B54EE
RGBrgb(91, 84, 238)
HSLhsl(243, 82%, 63%)
HSVhsv(243, 65%, 93%)
CMYKcmyk(61.8%, 64.7%, 0%, 6.7%)
CIE-LABlab(45.27, 47.08, -76.70)
CIE-LCHlch(45.27, 90.00, 301.55°)
OKLaboklab(54.78% 0.0314 -0.221)
OKLCHoklch(54.78% 0.223 278.1)
XYZxyz(22.9124, 14.7360, 82.5093)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B54EE #E7EE54
analogous
#549AEE #5B54EE #A854EE
triadic
#5B54EE #EE5B54 #54EE5B
tetradic
#5B54EE #EE549A #E7EE54 #54EEA8
square
#5B54EE #EE549A #E7EE54 #54EEA8
split-complementary
#5B54EE #EEA854 #9AEE54
monochromatic
#1912B6 #261CE8 #5B54EE #908CF4 #C6C3F9

Accessibility & contrast

On white

5.32
#5B54EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5B54EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B54EE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B54EE#FFFFFF#000000##FFFFFF
##5B54EE1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F3
Deuteranopia (green-blind)
#0065EB
Tritanopia (blue-blind)
#007C9A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5b54ee;
/* rgb */ color: rgb(91, 84, 238);
/* oklch */ color: oklch(54.8% 0.223 278.1);
Tailwind
colors: {
  custom: {
    50: '#9885f5',
    500: '#5b54ee',
    950: '#000000',
  },
}
SCSS
$custom: #5b54ee;
$custom-light: #9885f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b54ee",
  "rgb": {
    "r": 91,
    "g": 84,
    "b": 238
  },
  "hsl": {
    "h": 242.727,
    "s": 81.915,
    "l": 63.137
  },
  "oklch": {
    "l": 0.54784,
    "c": 0.22326,
    "h": 278.1
  },
  "luminance": 0.14738
}

Semantic roles & 50–950 ramp

primary
#5B54EE
secondary
#E8EAB3
accent
#DE07D5
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B54EE

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

Preview Lab → · Contrast checker → · Palette generator →

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