#5D54DC#5D54DC

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

Color values

HEX#5D54DC
RGBrgb(93, 84, 220)
HSLhsl(244, 66%, 60%)
HSVhsv(244, 62%, 86%)
CMYKcmyk(57.7%, 61.8%, 0%, 13.7%)
CIE-LABlab(43.99, 41.74, -68.58)
CIE-LCHlch(43.99, 80.29, 301.33°)
OKLaboklab(53.45% 0.0353 -0.1972)
OKLCHoklch(53.45% 0.2 280.1)
XYZxyz(20.5987, 13.8337, 69.2810)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D54DC #D3DC54
analogous
#548FDC #5D54DC #A154DC
triadic
#5D54DC #DC5D54 #54DC5D
tetradic
#5D54DC #DC548F #D3DC54 #54DCA1
square
#5D54DC #DC548F #D3DC54 #54DCA1
split-complementary
#5D54DC #DCA154 #8FDC54
monochromatic
#271F97 #3429CA #5D54DC #8D87E6 #BDBAF1

Accessibility & contrast

On white

5.57
#5D54DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5D54DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D54DC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D54DC#FFFFFF#000000##FFFFFF
##5D54DC1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0063D9
Tritanopia (blue-blind)
#097690
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d54dc;
/* rgb */ color: rgb(93, 84, 220);
/* oklch */ color: oklch(53.4% 0.200 280.1);
Tailwind
colors: {
  custom: {
    50: '#9785e8',
    500: '#5d54dc',
    950: '#000000',
  },
}
SCSS
$custom: #5d54dc;
$custom-light: #9785e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d54dc",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 243.971,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53448,
    "c": 0.2003,
    "h": 280.1
  },
  "luminance": 0.13835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D54DC

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

Preview Lab → · Contrast checker → · Palette generator →

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