#5D54E4#5D54E4

#5D54E4 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.1% C 0.210 H 279.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5D54E4
RGBrgb(93, 84, 228)
HSLhsl(244, 73%, 61%)
HSVhsv(244, 63%, 89%)
CMYKcmyk(59.2%, 63.2%, 0%, 10.6%)
CIE-LABlab(44.61, 44.25, -72.12)
CIE-LCHlch(44.61, 84.61, 301.53°)
OKLaboklab(54.1% 0.0347 -0.2075)
OKLCHoklch(54.1% 0.21 279.5)
XYZxyz(21.6837, 14.2677, 74.9950)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D54E4 #DBE454
analogous
#5493E4 #5D54E4 #A554E4
triadic
#5D54E4 #E45D54 #54E45D
tetradic
#5D54E4 #E45493 #DBE454 #54E4A5
square
#5D54E4 #E45493 #DBE454 #54E4A5
split-complementary
#5D54E4 #E4A554 #93E454
monochromatic
#221AA4 #2E22D9 #5D54E4 #8F89EC #C1BEF5

Accessibility & contrast

On white

5.45
#5D54E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5D54E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D54E4
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D54E4#FFFFFF#000000##FFFFFF
##5D54E41.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#0064E1
Tritanopia (blue-blind)
#007894
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d54e4;
/* rgb */ color: rgb(93, 84, 228);
/* oklch */ color: oklch(54.1% 0.210 279.5);
Tailwind
colors: {
  custom: {
    50: '#9885ee',
    500: '#5d54e4',
    950: '#000000',
  },
}
SCSS
$custom: #5d54e4;
$custom-light: #9885ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d54e4",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 243.75,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54095,
    "c": 0.21043,
    "h": 279.5
  },
  "luminance": 0.14269
}

Semantic roles & 50–950 ramp

primary
#5D54E4
secondary
#E2E5AF
accent
#D511C9
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5D54E4

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

Preview Lab → · Contrast checker → · Palette generator →

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