#5D54DE#5D54DE

#5D54DE is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.6% C 0.203 H 280.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5D54DE
RGBrgb(93, 84, 222)
HSLhsl(244, 68%, 60%)
HSVhsv(244, 62%, 87%)
CMYKcmyk(58.1%, 62.2%, 0%, 12.9%)
CIE-LABlab(44.15, 42.37, -69.47)
CIE-LCHlch(44.15, 81.37, 301.38°)
OKLaboklab(53.61% 0.0352 -0.1998)
OKLCHoklch(53.61% 0.203 280)
XYZxyz(20.8652, 13.9403, 70.6843)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D54DE #D5DE54
analogous
#5490DE #5D54DE #A254DE
triadic
#5D54DE #DE5D54 #54DE5D
tetradic
#5D54DE #DE5490 #D5DE54 #54DEA2
square
#5D54DE #DE5490 #D5DE54 #54DEA2
split-complementary
#5D54DE #DEA254 #90DE54
monochromatic
#261E9A #3228CD #5D54DE #8E87E8 #BEBBF2

Accessibility & contrast

On white

5.54
#5D54DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5D54DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D54DE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D54DE#FFFFFF#000000##FFFFFF
##5D54DE1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d54de;
/* rgb */ color: rgb(93, 84, 222);
/* oklch */ color: oklch(53.6% 0.203 280.0);
Tailwind
colors: {
  custom: {
    50: '#9785e9',
    500: '#5d54de',
    950: '#000000',
  },
}
SCSS
$custom: #5d54de;
$custom-light: #9785e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d54de",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 243.913,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.53608,
    "c": 0.20285,
    "h": 280
  },
  "luminance": 0.13942
}

Semantic roles & 50–950 ramp

primary
#5D54DE
secondary
#DEE1AC
accent
#EB3DDF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5D54DE

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

Preview Lab → · Contrast checker → · Palette generator →

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