#5C54EC#5C54EC

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

Color values

HEX#5C54EC
RGBrgb(92, 84, 236)
HSLhsl(243, 80%, 63%)
HSVhsv(243, 64%, 93%)
CMYKcmyk(61%, 64.4%, 0%, 7.5%)
CIE-LABlab(45.18, 46.60, -75.72)
CIE-LCHlch(45.18, 88.91, 301.61°)
OKLaboklab(54.68% 0.0328 -0.2181)
OKLCHoklch(54.68% 0.221 278.5)
XYZxyz(22.7194, 14.6703, 80.9750)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C54EC #E4EC54
analogous
#5498EC #5C54EC #A854EC
triadic
#5C54EC #EC5C54 #54EC5C
tetradic
#5C54EC #EC5498 #E4EC54 #54ECA8
square
#5C54EC #EC5498 #E4EC54 #54ECA8
split-complementary
#5C54EC #ECA854 #98EC54
monochromatic
#1C14B2 #271DE6 #5C54EC #918BF2 #C5C2F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C54EC#FFFFFF#000000##FFFFFF
##5C54EC1.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)
#0071F1
Deuteranopia (green-blind)
#0065E9
Tritanopia (blue-blind)
#007B99
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5c54ec;
/* rgb */ color: rgb(92, 84, 236);
/* oklch */ color: oklch(54.7% 0.221 278.5);
Tailwind
colors: {
  custom: {
    50: '#9985f3',
    500: '#5c54ec',
    950: '#000000',
  },
}
SCSS
$custom: #5c54ec;
$custom-light: #9985f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c54ec",
  "rgb": {
    "r": 92,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 243.158,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54685,
    "c": 0.2206,
    "h": 278.5
  },
  "luminance": 0.14672
}

Semantic roles & 50–950 ramp

primary
#5C54EC
secondary
#E7E9B2
accent
#DC09D1
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C54EC

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

Preview Lab → · Contrast checker → · Palette generator →

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