#5C54ED#5C54ED

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

Color values

HEX#5C54ED
RGBrgb(92, 84, 237)
HSLhsl(243, 81%, 63%)
HSVhsv(243, 65%, 93%)
CMYKcmyk(61.2%, 64.6%, 0%, 7.1%)
CIE-LABlab(45.26, 46.91, -76.15)
CIE-LCHlch(45.26, 89.44, 301.64°)
OKLaboklab(54.77% 0.0327 -0.2194)
OKLCHoklch(54.77% 0.222 278.5)
XYZxyz(22.8651, 14.7286, 81.7423)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C54ED #E5ED54
analogous
#5499ED #5C54ED #A854ED
triadic
#5C54ED #ED5C54 #54ED5C
tetradic
#5C54ED #ED5499 #E5ED54 #54EDA8
square
#5C54ED #ED5499 #E5ED54 #54EDA8
split-complementary
#5C54ED #EDA854 #99ED54
monochromatic
#1B13B4 #271DE7 #5C54ED #918BF3 #C6C3F9

Accessibility & contrast

On white

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

On black

3.95
#5C54ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5C54ED#FFFFFF#000000##FFFFFF
##5C54ED1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.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: #5c54ed;
/* rgb */ color: rgb(92, 84, 237);
/* oklch */ color: oklch(54.8% 0.222 278.5);
Tailwind
colors: {
  custom: {
    50: '#9985f4',
    500: '#5c54ed',
    950: '#000000',
  },
}
SCSS
$custom: #5c54ed;
$custom-light: #9985f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c54ed",
  "rgb": {
    "r": 92,
    "g": 84,
    "b": 237
  },
  "hsl": {
    "h": 243.137,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.54769,
    "c": 0.22183,
    "h": 278.5
  },
  "luminance": 0.1473
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C54ED

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

Preview Lab → · Contrast checker → · Palette generator →

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