#5D54EF#5D54EF

#5D54EF is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.0% C 0.224 H 278.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5D54EF
RGBrgb(93, 84, 239)
HSLhsl(243, 83%, 63%)
HSVhsv(243, 65%, 94%)
CMYKcmyk(61.1%, 64.9%, 0%, 6.3%)
CIE-LABlab(45.49, 47.68, -76.89)
CIE-LCHlch(45.49, 90.48, 301.81°)
OKLaboklab(55.01% 0.0337 -0.2215)
OKLCHoklch(55.01% 0.224 278.6)
XYZxyz(23.2595, 14.8980, 83.2945)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D54EF #E6EF54
analogous
#5498EF #5D54EF #AA54EF
triadic
#5D54EF #EF5D54 #54EF5D
tetradic
#5D54EF #EF5498 #E6EF54 #54EFAA
square
#5D54EF #EF5498 #E6EF54 #54EFAA
split-complementary
#5D54EF #EFAA54 #98EF54
monochromatic
#1B11B7 #281CEA #5D54EF #928CF4 #C7C4F9

Accessibility & contrast

On white

5.28
#5D54EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5D54EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D54EF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D54EF#FFFFFF#000000##FFFFFF
##5D54EF1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#0065EC
Tritanopia (blue-blind)
#007C9A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d54ef;
/* rgb */ color: rgb(93, 84, 239);
/* oklch */ color: oklch(55.0% 0.224 278.6);
Tailwind
colors: {
  custom: {
    50: '#9a85f5',
    500: '#5d54ef',
    950: '#000000',
  },
}
SCSS
$custom: #5d54ef;
$custom-light: #9a85f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d54ef",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 243.484,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55007,
    "c": 0.2241,
    "h": 278.6
  },
  "luminance": 0.149
}

Semantic roles & 50–950 ramp

primary
#5D54EF
secondary
#E8EBB4
accent
#DF06D3
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D54EF

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

Preview Lab → · Contrast checker → · Palette generator →

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