#5C54E8#5C54E8

#5C54E8 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.4% C 0.216 H 278.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5C54E8
RGBrgb(92, 84, 232)
HSLhsl(243, 76%, 62%)
HSVhsv(243, 64%, 91%)
CMYKcmyk(60.3%, 63.8%, 0%, 9%)
CIE-LABlab(44.86, 45.35, -73.99)
CIE-LCHlch(44.86, 86.78, 301.50°)
OKLaboklab(54.35% 0.0331 -0.2131)
OKLCHoklch(54.35% 0.216 278.8)
XYZxyz(22.1448, 14.4405, 77.9486)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C54E8 #E0E854
analogous
#5496E8 #5C54E8 #A654E8
triadic
#5C54E8 #E85C54 #54E85C
tetradic
#5C54E8 #E85496 #E0E854 #54E8A6
square
#5C54E8 #E85496 #E0E854 #54E8A6
split-complementary
#5C54E8 #E8A654 #96E854
monochromatic
#1F17AB #291EE1 #5C54E8 #8F8AEF #C3C0F7

Accessibility & contrast

On white

5.40
#5C54E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5C54E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C54E8
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C54E8#FFFFFF#000000##FFFFFF
##5C54E81.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070ED
Deuteranopia (green-blind)
#0064E5
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5c54e8;
/* rgb */ color: rgb(92, 84, 232);
/* oklch */ color: oklch(54.4% 0.216 278.8);
Tailwind
colors: {
  custom: {
    50: '#9885f0',
    500: '#5c54e8',
    950: '#000000',
  },
}
SCSS
$custom: #5c54e8;
$custom-light: #9885f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c54e8",
  "rgb": {
    "r": 92,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 243.243,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54352,
    "c": 0.21562,
    "h": 278.8
  },
  "luminance": 0.14442
}

Semantic roles & 50–950 ramp

primary
#5C54E8
secondary
#E4E7B1
accent
#D80DCD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C54E8

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

Preview Lab → · Contrast checker → · Palette generator →

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