#5D5AE3#5D5AE3

#5D5AE3 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.0% C 0.202 H 278.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5D5AE3
RGBrgb(93, 90, 227)
HSLhsl(241, 71%, 62%)
HSVhsv(241, 60%, 89%)
CMYKcmyk(59%, 60.4%, 0%, 11%)
CIE-LABlab(45.89, 40.39, -69.48)
CIE-LCHlch(45.89, 80.37, 300.17°)
OKLaboklab(55% 0.0295 -0.1998)
OKLCHoklch(55% 0.202 278.4)
XYZxyz(22.0311, 15.1839, 74.4280)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5AE3 #E0E35A
analogous
#5A9CE3 #5D5AE3 #A25AE3
triadic
#5D5AE3 #E35D5A #5AE35D
tetradic
#5D5AE3 #E35A9C #E0E35A #5AE3A2
square
#5D5AE3 #E35A9C #E0E35A #5AE3A2
split-complementary
#5D5AE3 #E3A25A #9CE35A
monochromatic
#1F1CA6 #2A26DA #5D5AE3 #908EEC #C4C3F5

Accessibility & contrast

On white

5.20
#5D5AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5D5AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5AE3
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5AE3#FFFFFF#000000##FFFFFF
##5D5AE31.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#0067E0
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d5ae3;
/* rgb */ color: rgb(93, 90, 227);
/* oklch */ color: oklch(55.0% 0.202 278.4);
Tailwind
colors: {
  custom: {
    50: '#9789ed',
    500: '#5d5ae3',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ae3;
$custom-light: #9789ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ae3",
  "rgb": {
    "r": 93,
    "g": 90,
    "b": 227
  },
  "hsl": {
    "h": 241.314,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.55001,
    "c": 0.20194,
    "h": 278.4
  },
  "luminance": 0.15186
}

Semantic roles & 50–950 ramp

primary
#5D5AE3
secondary
#E4E6B3
accent
#D312CF
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5D5AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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