#5D5AF4#5D5AF4

#5D5AF4 is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.4% C 0.223 H 277.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5D5AF4
RGBrgb(93, 90, 244)
HSLhsl(241, 88%, 65%)
HSVhsv(241, 63%, 96%)
CMYKcmyk(61.9%, 63.1%, 0%, 4.3%)
CIE-LABlab(47.20, 45.79, -76.91)
CIE-LCHlch(47.20, 89.51, 300.77°)
OKLaboklab(56.37% 0.0285 -0.2216)
OKLCHoklch(56.37% 0.223 277.3)
XYZxyz(24.4942, 16.1692, 87.4006)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5AF4 #F1F45A
analogous
#5AA4F4 #5D5AF4 #AA5AF4
triadic
#5D5AF4 #F45D5A #5AF45D
tetradic
#5D5AF4 #F45AA4 #F1F45A #5AF4AA
square
#5D5AF4 #F45AA4 #F1F45A #5AF4AA
split-complementary
#5D5AF4 #F4AA5A #A4F45A
monochromatic
#110DC6 #2521F0 #5D5AF4 #9593F8 #CECDFC

Accessibility & contrast

On white

4.96
#5D5AF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5D5AF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5AF4
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5AF4#FFFFFF#000000##FFFFFF
##5D5AF41.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F9
Deuteranopia (green-blind)
#0069F1
Tritanopia (blue-blind)
#00819F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d5af4;
/* rgb */ color: rgb(93, 90, 244);
/* oklch */ color: oklch(56.4% 0.223 277.3);
Tailwind
colors: {
  custom: {
    50: '#9a89f9',
    500: '#5d5af4',
    950: '#000000',
  },
}
SCSS
$custom: #5d5af4;
$custom-light: #9a89f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5af4",
  "rgb": {
    "r": 93,
    "g": 90,
    "b": 244
  },
  "hsl": {
    "h": 241.169,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.5637,
    "c": 0.22342,
    "h": 277.3
  },
  "luminance": 0.16171
}

Semantic roles & 50–950 ramp

primary
#5D5AF4
secondary
#EEEFBB
accent
#E401E0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D5AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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