#5D7AED#5D7AED

#5D7AED is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.6% C 0.175 H 270.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5D7AED
RGBrgb(93, 122, 237)
HSLhsl(228, 80%, 65%)
HSVhsv(228, 61%, 93%)
CMYKcmyk(60.8%, 48.5%, 0%, 7.1%)
CIE-LABlab(54.41, 24.21, -61.32)
CIE-LCHlch(54.41, 65.93, 291.55°)
OKLaboklab(61.59% -0.0001 -0.1754)
OKLCHoklch(61.59% 0.175 270)
XYZxyz(26.7547, 22.3584, 83.0100)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7AED #EDD05D
analogous
#5DC2ED #5D7AED #885DED
triadic
#5D7AED #ED5D7A #7AED5D
tetradic
#5D7AED #ED5DC2 #EDD05D #5DED88
square
#5D7AED #ED5DC2 #EDD05D #5DED88
split-complementary
#5D7AED #ED885D #C2ED5D
monochromatic
#1536BB #264DE7 #5D7AED #94A7F3 #CBD4F9

Accessibility & contrast

On white

3.84
#5D7AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#5D7AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7AED
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7AED#FFFFFF#000000##000000
##5D7AED1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E89F1
Deuteranopia (green-blind)
#207CEB
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d7aed;
/* rgb */ color: rgb(93, 122, 237);
/* oklch */ color: oklch(61.6% 0.175 270.0);
Tailwind
colors: {
  custom: {
    50: '#97a0f3',
    500: '#5d7aed',
    950: '#000000',
  },
}
SCSS
$custom: #5d7aed;
$custom-light: #97a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7aed",
  "rgb": {
    "r": 93,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 227.917,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61589,
    "c": 0.17545,
    "h": 270
  },
  "luminance": 0.22361
}

Semantic roles & 50–950 ramp

primary
#5D7AED
secondary
#ECE2BA
accent
#B209DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5D7AED

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

Preview Lab → · Contrast checker → · Palette generator →

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