#5D5AE5#5D5AE5

#5D5AE5 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.2% C 0.205 H 278.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5D5AE5
RGBrgb(93, 90, 229)
HSLhsl(241, 73%, 63%)
HSVhsv(241, 61%, 90%)
CMYKcmyk(59.4%, 60.7%, 0%, 10.2%)
CIE-LABlab(46.04, 41.03, -70.37)
CIE-LCHlch(46.04, 81.46, 300.25°)
OKLaboklab(55.16% 0.0294 -0.2024)
OKLCHoklch(55.16% 0.205 278.3)
XYZxyz(22.3087, 15.2950, 75.8902)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5AE5 #E2E55A
analogous
#5A9CE5 #5D5AE5 #A35AE5
triadic
#5D5AE5 #E55D5A #5AE55D
tetradic
#5D5AE5 #E55A9C #E2E55A #5AE5A3
square
#5D5AE5 #E55A9C #E2E55A #5AE5A3
split-complementary
#5D5AE5 #E5A35A #9CE55A
monochromatic
#1E1BAA #2925DD #5D5AE5 #918FED #C5C4F6

Accessibility & contrast

On white

5.17
#5D5AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5D5AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5AE5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5AE5#FFFFFF#000000##FFFFFF
##5D5AE51.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#0067E2
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d5ae5;
/* rgb */ color: rgb(93, 90, 229);
/* oklch */ color: oklch(55.2% 0.205 278.3);
Tailwind
colors: {
  custom: {
    50: '#9889ee',
    500: '#5d5ae5',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ae5;
$custom-light: #9889ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ae5",
  "rgb": {
    "r": 93,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 241.295,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55159,
    "c": 0.20451,
    "h": 278.3
  },
  "luminance": 0.15297
}

Semantic roles & 50–950 ramp

primary
#5D5AE5
secondary
#E6E7B4
accent
#D511D1
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5D5AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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