#5B54DE#5B54DE

#5B54DE is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.5% C 0.203 H 279.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5B54DE
RGBrgb(91, 84, 222)
HSLhsl(243, 68%, 60%)
HSVhsv(243, 62%, 87%)
CMYKcmyk(59%, 62.2%, 0%, 12.9%)
CIE-LABlab(44.00, 42.04, -69.72)
CIE-LCHlch(44.00, 81.42, 301.09°)
OKLaboklab(53.46% 0.0327 -0.2006)
OKLCHoklch(53.46% 0.203 279.3)
XYZxyz(20.6653, 13.8372, 70.6750)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B54DE #D7DE54
analogous
#5492DE #5B54DE #A054DE
triadic
#5B54DE #DE5B54 #54DE5B
tetradic
#5B54DE #DE5492 #D7DE54 #54DEA0
square
#5B54DE #DE5492 #D7DE54 #54DEA0
split-complementary
#5B54DE #DEA054 #92DE54
monochromatic
#241E9A #3028CD #5B54DE #8C87E8 #BDBBF2

Accessibility & contrast

On white

5.57
#5B54DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5B54DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B54DE
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B54DE#FFFFFF#000000##FFFFFF
##5B54DE1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#0063DB
Tritanopia (blue-blind)
#007691
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5b54de;
/* rgb */ color: rgb(91, 84, 222);
/* oklch */ color: oklch(53.5% 0.203 279.3);
Tailwind
colors: {
  custom: {
    50: '#9685e9',
    500: '#5b54de',
    950: '#000000',
  },
}
SCSS
$custom: #5b54de;
$custom-light: #9685e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b54de",
  "rgb": {
    "r": 91,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 243.043,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.53462,
    "c": 0.20322,
    "h": 279.3
  },
  "luminance": 0.13839
}

Semantic roles & 50–950 ramp

primary
#5B54DE
secondary
#DFE1AC
accent
#EB3DE2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5B54DE

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

Preview Lab → · Contrast checker → · Palette generator →

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