#5C54D8#5C54D8

#5C54D8 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 53.1% C 0.195 H 280.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5C54D8
RGBrgb(92, 84, 216)
HSLhsl(244, 63%, 59%)
HSVhsv(244, 61%, 85%)
CMYKcmyk(57.4%, 61.1%, 0%, 15.3%)
CIE-LABlab(43.61, 40.31, -66.92)
CIE-LCHlch(43.61, 78.13, 301.07°)
OKLaboklab(53.06% 0.0343 -0.1923)
OKLCHoklch(53.06% 0.195 280.1)
XYZxyz(19.9747, 13.5725, 66.5196)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C54D8 #D0D854
analogous
#548ED8 #5C54D8 #9E54D8
triadic
#5C54D8 #D85C54 #54D85C
tetradic
#5C54D8 #D8548E #D0D854 #54D89E
square
#5C54D8 #D8548E #D0D854 #54D89E
split-complementary
#5C54D8 #D89E54 #8ED854
monochromatic
#282191 #352CC2 #5C54D8 #8C86E3 #BBB8EF

Accessibility & contrast

On white

5.65
#5C54D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5C54D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C54D8
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C54D8#FFFFFF#000000##FFFFFF
##5C54D81.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#0062D5
Tritanopia (blue-blind)
#0F748E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5c54d8;
/* rgb */ color: rgb(92, 84, 216);
/* oklch */ color: oklch(53.1% 0.195 280.1);
Tailwind
colors: {
  custom: {
    50: '#9584e5',
    500: '#5c54d8',
    950: '#000000',
  },
}
SCSS
$custom: #5c54d8;
$custom-light: #9584e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c54d8",
  "rgb": {
    "r": 92,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 243.636,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53055,
    "c": 0.19534,
    "h": 280.1
  },
  "luminance": 0.13574
}

Semantic roles & 50–950 ramp

primary
#5C54D8
secondary
#DBDEAA
accent
#E642DC
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5C54D8

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

Preview Lab → · Contrast checker → · Palette generator →

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