#5D54EB#5D54EB

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

Color values

HEX#5D54EB
RGBrgb(93, 84, 235)
HSLhsl(244, 79%, 63%)
HSVhsv(244, 64%, 92%)
CMYKcmyk(60.4%, 64.3%, 0%, 7.8%)
CIE-LABlab(45.17, 46.44, -75.17)
CIE-LCHlch(45.17, 88.35, 301.71°)
OKLaboklab(54.67% 0.0341 -0.2165)
OKLCHoklch(54.67% 0.219 278.9)
XYZxyz(22.6751, 14.6643, 80.2167)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D54EB #E2EB54
analogous
#5497EB #5D54EB #A854EB
triadic
#5D54EB #EB5D54 #54EB5D
tetradic
#5D54EB #EB5497 #E2EB54 #54EBA8
square
#5D54EB #EB5497 #E2EB54 #54EBA8
split-complementary
#5D54EB #EBA854 #97EB54
monochromatic
#1E15B0 #291DE5 #5D54EB #918BF1 #C5C2F8

Accessibility & contrast

On white

5.34
#5D54EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5D54EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D54EB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D54EB#FFFFFF#000000##FFFFFF
##5D54EB1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#0065E8
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d54eb;
/* rgb */ color: rgb(93, 84, 235);
/* oklch */ color: oklch(54.7% 0.219 278.9);
Tailwind
colors: {
  custom: {
    50: '#9985f3',
    500: '#5d54eb',
    950: '#000000',
  },
}
SCSS
$custom: #5d54eb;
$custom-light: #9985f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d54eb",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 243.576,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54673,
    "c": 0.21917,
    "h": 278.9
  },
  "luminance": 0.14666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D54EB

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

Preview Lab → · Contrast checker → · Palette generator →

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