#5E54DC#5E54DC

#5E54DC is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.5% C 0.200 H 280.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5E54DC
RGBrgb(94, 84, 220)
HSLhsl(244, 66%, 60%)
HSVhsv(244, 62%, 86%)
CMYKcmyk(57.3%, 61.8%, 0%, 13.7%)
CIE-LABlab(44.07, 41.91, -68.46)
CIE-LCHlch(44.07, 80.27, 301.47°)
OKLaboklab(53.52% 0.0365 -0.1968)
OKLCHoklch(53.52% 0.2 280.5)
XYZxyz(20.7006, 13.8862, 69.2858)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E54DC #D2DC54
analogous
#548EDC #5E54DC #A254DC
triadic
#5E54DC #DC5E54 #54DC5E
tetradic
#5E54DC #DC548E #D2DC54 #54DCA2
square
#5E54DC #DC548E #D2DC54 #54DCA2
split-complementary
#5E54DC #DCA254 #8EDC54
monochromatic
#281F97 #3529CA #5E54DC #8E87E6 #BEBAF1

Accessibility & contrast

On white

5.56
#5E54DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5E54DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E54DC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E54DC#FFFFFF#000000##FFFFFF
##5E54DC1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0063D9
Tritanopia (blue-blind)
#117590
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5e54dc;
/* rgb */ color: rgb(94, 84, 220);
/* oklch */ color: oklch(53.5% 0.200 280.5);
Tailwind
colors: {
  custom: {
    50: '#9785e8',
    500: '#5e54dc',
    950: '#000000',
  },
}
SCSS
$custom: #5e54dc;
$custom-light: #9785e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e54dc",
  "rgb": {
    "r": 94,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 244.412,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53523,
    "c": 0.20013,
    "h": 280.5
  },
  "luminance": 0.13888
}

Semantic roles & 50–950 ramp

primary
#5E54DC
secondary
#DCE0AC
accent
#E93FDC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5E54DC

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

Preview Lab → · Contrast checker → · Palette generator →

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