#5D54E9#5D54E9

#5D54E9 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.5% C 0.217 H 279.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5D54E9
RGBrgb(93, 84, 233)
HSLhsl(244, 77%, 62%)
HSVhsv(244, 64%, 91%)
CMYKcmyk(60.1%, 63.9%, 0%, 8.6%)
CIE-LABlab(45.01, 45.81, -74.30)
CIE-LCHlch(45.01, 87.29, 301.66°)
OKLaboklab(54.51% 0.0343 -0.2139)
OKLCHoklch(54.51% 0.217 279.1)
XYZxyz(22.3878, 14.5493, 78.7035)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D54E9 #E0E954
analogous
#5496E9 #5D54E9 #A754E9
triadic
#5D54E9 #E95D54 #54E95D
tetradic
#5D54E9 #E95496 #E0E954 #54E9A7
square
#5D54E9 #E95496 #E0E954 #54E9A7
split-complementary
#5D54E9 #E9A754 #96E954
monochromatic
#1F16AC #2A1EE2 #5D54E9 #908AF0 #C4C0F7

Accessibility & contrast

On white

5.37
#5D54E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5D54E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D54E9
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D54E9#FFFFFF#000000##FFFFFF
##5D54E91.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EE
Deuteranopia (green-blind)
#0065E6
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d54e9;
/* rgb */ color: rgb(93, 84, 233);
/* oklch */ color: oklch(54.5% 0.217 279.1);
Tailwind
colors: {
  custom: {
    50: '#9985f1',
    500: '#5d54e9',
    950: '#000000',
  },
}
SCSS
$custom: #5d54e9;
$custom-light: #9985f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d54e9",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 233
  },
  "hsl": {
    "h": 243.624,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54507,
    "c": 0.21668,
    "h": 279.1
  },
  "luminance": 0.14551
}

Semantic roles & 50–950 ramp

primary
#5D54E9
secondary
#E4E8B1
accent
#D90CCD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D54E9

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

Preview Lab → · Contrast checker → · Palette generator →

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