#5C54DC#5C54DC

#5C54DC is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.4% C 0.200 H 279.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5C54DC
RGBrgb(92, 84, 220)
HSLhsl(244, 66%, 60%)
HSVhsv(244, 62%, 86%)
CMYKcmyk(58.2%, 61.8%, 0%, 13.7%)
CIE-LABlab(43.92, 41.58, -68.71)
CIE-LCHlch(43.92, 80.31, 301.18°)
OKLaboklab(53.37% 0.0341 -0.1976)
OKLCHoklch(53.37% 0.2 279.8)
XYZxyz(20.4981, 13.7818, 69.2763)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C54DC #D4DC54
analogous
#5490DC #5C54DC #A054DC
triadic
#5C54DC #DC5C54 #54DC5C
tetradic
#5C54DC #DC5490 #D4DC54 #54DCA0
square
#5C54DC #DC5490 #D4DC54 #54DCA0
split-complementary
#5C54DC #DCA054 #90DC54
monochromatic
#261F97 #3329CA #5C54DC #8C87E6 #BDBAF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C54DC#FFFFFF#000000##FFFFFF
##5C54DC1.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)
#006DE0
Deuteranopia (green-blind)
#0063D9
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5c54dc;
/* rgb */ color: rgb(92, 84, 220);
/* oklch */ color: oklch(53.4% 0.200 279.8);
Tailwind
colors: {
  custom: {
    50: '#9685e8',
    500: '#5c54dc',
    950: '#000000',
  },
}
SCSS
$custom: #5c54dc;
$custom-light: #9685e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c54dc",
  "rgb": {
    "r": 92,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 243.529,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53374,
    "c": 0.20048,
    "h": 279.8
  },
  "luminance": 0.13783
}

Semantic roles & 50–950 ramp

primary
#5C54DC
secondary
#DDE0AC
accent
#E93FDF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5C54DC

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

Preview Lab → · Contrast checker → · Palette generator →

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