#5C5AE5#5C5AE5

#5C5AE5 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.1% C 0.205 H 277.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5C5AE5
RGBrgb(92, 90, 229)
HSLhsl(241, 73%, 63%)
HSVhsv(241, 61%, 90%)
CMYKcmyk(59.8%, 60.7%, 0%, 10.2%)
CIE-LABlab(45.97, 40.87, -70.49)
CIE-LCHlch(45.97, 81.48, 300.11°)
OKLaboklab(55.09% 0.0283 -0.2028)
OKLCHoklch(55.09% 0.205 277.9)
XYZxyz(22.2081, 15.2431, 75.8855)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5AE5 #E3E55A
analogous
#5A9EE5 #5C5AE5 #A15AE5
triadic
#5C5AE5 #E55C5A #5AE55C
tetradic
#5C5AE5 #E55A9E #E3E55A #5AE5A1
square
#5C5AE5 #E55A9E #E3E55A #5AE5A1
split-complementary
#5C5AE5 #E5A15A #9EE55A
monochromatic
#1D1BAA #2825DD #5C5AE5 #908FED #C4C4F6

Accessibility & contrast

On white

5.19
#5C5AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5C5AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5AE5
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5AE5#FFFFFF#000000##FFFFFF
##5C5AE51.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.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: #5c5ae5;
/* rgb */ color: rgb(92, 90, 229);
/* oklch */ color: oklch(55.1% 0.205 277.9);
Tailwind
colors: {
  custom: {
    50: '#9789ee',
    500: '#5c5ae5',
    950: '#000000',
  },
}
SCSS
$custom: #5c5ae5;
$custom-light: #9789ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5ae5",
  "rgb": {
    "r": 92,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 240.863,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55089,
    "c": 0.20471,
    "h": 277.9
  },
  "luminance": 0.15245
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C5AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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