#5D5AF7#5D5AF7

#5D5AF7 is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.6% C 0.227 H 277.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5D5AF7
RGBrgb(93, 90, 247)
HSLhsl(241, 91%, 66%)
HSVhsv(241, 64%, 97%)
CMYKcmyk(62.3%, 63.6%, 0%, 3.1%)
CIE-LABlab(47.43, 46.74, -78.20)
CIE-LCHlch(47.43, 91.10, 300.86°)
OKLaboklab(56.62% 0.0283 -0.2254)
OKLCHoklch(56.62% 0.227 277.1)
XYZxyz(24.9534, 16.3529, 89.8191)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5AF7 #F4F75A
analogous
#5AA6F7 #5D5AF7 #AB5AF7
triadic
#5D5AF7 #F75D5A #5AF75D
tetradic
#5D5AF7 #F75AA6 #F4F75A #5AF7AB
square
#5D5AF7 #F75AA6 #F4F75A #5AF7AB
split-complementary
#5D5AF7 #F7AB5A #A6F75A
monochromatic
#0E0ACD #2420F4 #5D5AF7 #9694FA #D0CFFD

Accessibility & contrast

On white

4.92
#5D5AF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5D5AF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5AF7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5AF7#FFFFFF#000000##FFFFFF
##5D5AF71.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FC
Deuteranopia (green-blind)
#006AF4
Tritanopia (blue-blind)
#0082A0
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d5af7;
/* rgb */ color: rgb(93, 90, 247);
/* oklch */ color: oklch(56.6% 0.227 277.1);
Tailwind
colors: {
  custom: {
    50: '#9b89fb',
    500: '#5d5af7',
    950: '#000000',
  },
}
SCSS
$custom: #5d5af7;
$custom-light: #9b89fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5af7",
  "rgb": {
    "r": 93,
    "g": 90,
    "b": 247
  },
  "hsl": {
    "h": 241.146,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56617,
    "c": 0.22714,
    "h": 277.1
  },
  "luminance": 0.16355
}

Semantic roles & 50–950 ramp

primary
#5D5AF7
secondary
#EFF0BD
accent
#E600E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5D5AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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