#5D54E6#5D54E6

#5D54E6 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.3% C 0.213 H 279.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5D54E6
RGBrgb(93, 84, 230)
HSLhsl(244, 74%, 62%)
HSVhsv(244, 63%, 90%)
CMYKcmyk(59.6%, 63.5%, 0%, 9.8%)
CIE-LABlab(44.77, 44.87, -72.99)
CIE-LCHlch(44.77, 85.68, 301.58°)
OKLaboklab(54.26% 0.0345 -0.2101)
OKLCHoklch(54.26% 0.213 279.3)
XYZxyz(21.9629, 14.3794, 76.4657)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D54E6 #DDE654
analogous
#5494E6 #5D54E6 #A654E6
triadic
#5D54E6 #E65D54 #54E65D
tetradic
#5D54E6 #E65494 #DDE654 #54E6A6
square
#5D54E6 #E65494 #DDE654 #54E6A6
split-complementary
#5D54E6 #E6A654 #94E654
monochromatic
#2118A7 #2C20DD #5D54E6 #9089EE #C2BFF6

Accessibility & contrast

On white

5.42
#5D54E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5D54E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D54E6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D54E6#FFFFFF#000000##FFFFFF
##5D54E61.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#0064E3
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d54e6;
/* rgb */ color: rgb(93, 84, 230);
/* oklch */ color: oklch(54.3% 0.213 279.3);
Tailwind
colors: {
  custom: {
    50: '#9885ef',
    500: '#5d54e6',
    950: '#000000',
  },
}
SCSS
$custom: #5d54e6;
$custom-light: #9885ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5d54e6",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 230
  },
  "hsl": {
    "h": 243.699,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54259,
    "c": 0.21294,
    "h": 279.3
  },
  "luminance": 0.14381
}

Semantic roles & 50–950 ramp

primary
#5D54E6
secondary
#E3E6B0
accent
#D70FCA
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D54E6

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

Preview Lab → · Contrast checker → · Palette generator →

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