#5D54ED#5D54ED

#5D54ED is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.8% C 0.222 H 278.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5D54ED
RGBrgb(93, 84, 237)
HSLhsl(244, 81%, 63%)
HSVhsv(244, 65%, 93%)
CMYKcmyk(60.8%, 64.6%, 0%, 7.1%)
CIE-LABlab(45.33, 47.06, -76.03)
CIE-LCHlch(45.33, 89.42, 301.76°)
OKLaboklab(54.84% 0.0339 -0.219)
OKLCHoklch(54.84% 0.222 278.8)
XYZxyz(22.9657, 14.7805, 81.7470)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D54ED #E4ED54
analogous
#5498ED #5D54ED #A954ED
triadic
#5D54ED #ED5D54 #54ED5D
tetradic
#5D54ED #ED5498 #E4ED54 #54EDA9
square
#5D54ED #ED5498 #E4ED54 #54EDA9
split-complementary
#5D54ED #EDA954 #98ED54
monochromatic
#1C13B4 #291DE7 #5D54ED #918BF3 #C6C3F9

Accessibility & contrast

On white

5.31
#5D54ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5D54ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D54ED
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D54ED#FFFFFF#000000##FFFFFF
##5D54ED1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F2
Deuteranopia (green-blind)
#0065EA
Tritanopia (blue-blind)
#007B99
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d54ed;
/* rgb */ color: rgb(93, 84, 237);
/* oklch */ color: oklch(54.8% 0.222 278.8);
Tailwind
colors: {
  custom: {
    50: '#9985f4',
    500: '#5d54ed',
    950: '#000000',
  },
}
SCSS
$custom: #5d54ed;
$custom-light: #9985f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d54ed",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 237
  },
  "hsl": {
    "h": 243.529,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.5484,
    "c": 0.22163,
    "h": 278.8
  },
  "luminance": 0.14782
}

Semantic roles & 50–950 ramp

primary
#5D54ED
secondary
#E7EAB3
accent
#DD08D1
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D54ED

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

Preview Lab → · Contrast checker → · Palette generator →

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