#5C5AED#5C5AED

#5C5AED is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.7% C 0.215 H 277.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5C5AED
RGBrgb(92, 90, 237)
HSLhsl(241, 80%, 64%)
HSVhsv(241, 62%, 93%)
CMYKcmyk(61.2%, 62%, 0%, 7.1%)
CIE-LABlab(46.58, 43.42, -74.00)
CIE-LCHlch(46.58, 85.79, 300.40°)
OKLaboklab(55.73% 0.0278 -0.2131)
OKLCHoklch(55.73% 0.215 277.4)
XYZxyz(23.3509, 15.7002, 81.9043)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5AED #EBED5A
analogous
#5AA2ED #5C5AED #A65AED
triadic
#5C5AED #ED5C5A #5AED5C
tetradic
#5C5AED #ED5AA2 #EBED5A #5AEDA6
square
#5C5AED #ED5AA2 #EBED5A #5AEDA6
split-complementary
#5C5AED #EDA65A #A2ED5A
monochromatic
#1614B8 #2523E7 #5C5AED #9391F3 #C9C8F9

Accessibility & contrast

On white

5.07
#5C5AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5C5AED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5AED
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5AED#FFFFFF#000000##FFFFFF
##5C5AED1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#0068EA
Tritanopia (blue-blind)
#007F9B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5c5aed;
/* rgb */ color: rgb(92, 90, 237);
/* oklch */ color: oklch(55.7% 0.215 277.4);
Tailwind
colors: {
  custom: {
    50: '#9889f4',
    500: '#5c5aed',
    950: '#000000',
  },
}
SCSS
$custom: #5c5aed;
$custom-light: #9889f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5aed",
  "rgb": {
    "r": 92,
    "g": 90,
    "b": 237
  },
  "hsl": {
    "h": 240.816,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55731,
    "c": 0.21488,
    "h": 277.4
  },
  "luminance": 0.15702
}

Semantic roles & 50–950 ramp

primary
#5C5AED
secondary
#EAEBB8
accent
#DD09DA
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C5AED

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

Preview Lab → · Contrast checker → · Palette generator →

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