#5E54DA#5E54DA

#5E54DA is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.4% C 0.198 H 280.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5E54DA
RGBrgb(94, 84, 218)
HSLhsl(244, 64%, 59%)
HSVhsv(244, 61%, 85%)
CMYKcmyk(56.9%, 61.5%, 0%, 14.5%)
CIE-LABlab(43.92, 41.28, -67.56)
CIE-LCHlch(43.92, 79.18, 301.43°)
OKLaboklab(53.36% 0.0367 -0.1941)
OKLCHoklch(53.36% 0.198 280.7)
XYZxyz(20.4373, 13.7809, 67.8991)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E54DA #D0DA54
analogous
#548DDA #5E54DA #A154DA
triadic
#5E54DA #DA5E54 #54DA5E
tetradic
#5E54DA #DA548D #D0DA54 #54DAA1
square
#5E54DA #DA548D #D0DA54 #54DAA1
split-complementary
#5E54DA #DAA154 #8DDA54
monochromatic
#292094 #362BC6 #5E54DA #8D86E5 #BDB9F0

Accessibility & contrast

On white

5.59
#5E54DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5E54DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E54DA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E54DA#FFFFFF#000000##FFFFFF
##5E54DA1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0063D7
Tritanopia (blue-blind)
#17758F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5e54da;
/* rgb */ color: rgb(94, 84, 218);
/* oklch */ color: oklch(53.4% 0.198 280.7);
Tailwind
colors: {
  custom: {
    50: '#9785e6',
    500: '#5e54da',
    950: '#000000',
  },
}
SCSS
$custom: #5e54da;
$custom-light: #9785e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e54da",
  "rgb": {
    "r": 94,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 244.478,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53363,
    "c": 0.19757,
    "h": 280.7
  },
  "luminance": 0.13782
}

Semantic roles & 50–950 ramp

primary
#5E54DA
secondary
#DBDFAB
accent
#E740DB
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5E54DA

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

Preview Lab → · Contrast checker → · Palette generator →

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