#5D5AF5#5D5AF5

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

Color values

HEX#5D5AF5
RGBrgb(93, 90, 245)
HSLhsl(241, 89%, 66%)
HSVhsv(241, 63%, 96%)
CMYKcmyk(62%, 63.3%, 0%, 3.9%)
CIE-LABlab(47.27, 46.11, -77.34)
CIE-LCHlch(47.27, 90.04, 300.80°)
OKLaboklab(56.45% 0.0284 -0.2229)
OKLCHoklch(56.45% 0.225 277.3)
XYZxyz(24.6465, 16.2301, 88.2024)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5AF5 #F2F55A
analogous
#5AA5F5 #5D5AF5 #AA5AF5
triadic
#5D5AF5 #F55D5A #5AF55D
tetradic
#5D5AF5 #F55AA5 #F2F55A #5AF5AA
square
#5D5AF5 #F55AA5 #F2F55A #5AF5AA
split-complementary
#5D5AF5 #F5AA5A #A5F55A
monochromatic
#100CC8 #2420F2 #5D5AF5 #9694F8 #CECDFC

Accessibility & contrast

On white

4.95
#5D5AF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5D5AF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5AF5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5AF5#FFFFFF#000000##FFFFFF
##5D5AF51.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FA
Deuteranopia (green-blind)
#006AF2
Tritanopia (blue-blind)
#00819F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d5af5;
/* rgb */ color: rgb(93, 90, 245);
/* oklch */ color: oklch(56.5% 0.225 277.3);
Tailwind
colors: {
  custom: {
    50: '#9a89fa',
    500: '#5d5af5',
    950: '#000000',
  },
}
SCSS
$custom: #5d5af5;
$custom-light: #9a89fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5af5",
  "rgb": {
    "r": 93,
    "g": 90,
    "b": 245
  },
  "hsl": {
    "h": 241.161,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.56452,
    "c": 0.22467,
    "h": 277.3
  },
  "luminance": 0.16232
}

Semantic roles & 50–950 ramp

primary
#5D5AF5
secondary
#EEEFBC
accent
#E500E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D5AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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