#5D54EC#5D54EC

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

Color values

HEX#5D54EC
RGBrgb(93, 84, 236)
HSLhsl(244, 80%, 63%)
HSVhsv(244, 64%, 93%)
CMYKcmyk(60.6%, 64.4%, 0%, 7.5%)
CIE-LABlab(45.25, 46.75, -75.60)
CIE-LCHlch(45.25, 88.89, 301.73°)
OKLaboklab(54.76% 0.034 -0.2178)
OKLCHoklch(54.76% 0.22 278.9)
XYZxyz(22.8200, 14.7222, 80.9797)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D54EC #E3EC54
analogous
#5497EC #5D54EC #A954EC
triadic
#5D54EC #EC5D54 #54EC5D
tetradic
#5D54EC #EC5497 #E3EC54 #54ECA9
square
#5D54EC #EC5497 #E3EC54 #54ECA9
split-complementary
#5D54EC #ECA954 #97EC54
monochromatic
#1D14B2 #291DE6 #5D54EC #918BF2 #C5C2F8

Accessibility & contrast

On white

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

On black

3.94
#5D54EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5D54EC#FFFFFF#000000##FFFFFF
##5D54EC1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d54ec;
/* rgb */ color: rgb(93, 84, 236);
/* oklch */ color: oklch(54.8% 0.220 278.9);
Tailwind
colors: {
  custom: {
    50: '#9985f3',
    500: '#5d54ec',
    950: '#000000',
  },
}
SCSS
$custom: #5d54ec;
$custom-light: #9985f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d54ec",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 243.553,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54756,
    "c": 0.2204,
    "h": 278.9
  },
  "luminance": 0.14724
}

Semantic roles & 50–950 ramp

primary
#5D54EC
secondary
#E6E9B2
accent
#DC09D0
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D54EC

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

Preview Lab → · Contrast checker → · Palette generator →

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