#5A5CED#5A5CED

#5A5CED is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 55.9% C 0.213 H 276.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5A5CED
RGBrgb(90, 92, 237)
HSLhsl(239, 80%, 64%)
HSVhsv(239, 62%, 93%)
CMYKcmyk(62%, 61.2%, 0%, 7.1%)
CIE-LABlab(46.90, 41.93, -73.48)
CIE-LCHlch(46.90, 84.61, 299.71°)
OKLaboklab(55.93% 0.0238 -0.2116)
OKLCHoklch(55.93% 0.213 276.4)
XYZxyz(23.3247, 15.9405, 81.9520)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5CED #EDEB5A
analogous
#5AA6ED #5A5CED #A25AED
triadic
#5A5CED #ED5A5C #5CED5A
tetradic
#5A5CED #ED5AA6 #EDEB5A #5AEDA2
square
#5A5CED #ED5AA6 #EDEB5A #5AEDA2
split-complementary
#5A5CED #EDA25A #A6ED5A
monochromatic
#1416B8 #2325E7 #5A5CED #9193F3 #C8C9F9

Accessibility & contrast

On white

5.01
#5A5CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#5A5CED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A5CED
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5CED#FFFFFF#000000##FFFFFF
##5A5CED1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#0069EA
Tritanopia (blue-blind)
#00809C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a5ced;
/* rgb */ color: rgb(90, 92, 237);
/* oklch */ color: oklch(55.9% 0.213 276.4);
Tailwind
colors: {
  custom: {
    50: '#978af4',
    500: '#5a5ced',
    950: '#000000',
  },
}
SCSS
$custom: #5a5ced;
$custom-light: #978af4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5ced",
  "rgb": {
    "r": 90,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 239.184,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55929,
    "c": 0.21294,
    "h": 276.4
  },
  "luminance": 0.15942
}

Semantic roles & 50–950 ramp

primary
#5A5CED
secondary
#EBEAB8
accent
#DA09DD
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A5CED

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

Preview Lab → · Contrast checker → · Palette generator →

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