#5C5AE4#5C5AE4

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

Color values

HEX#5C5AE4
RGBrgb(92, 90, 228)
HSLhsl(241, 72%, 62%)
HSVhsv(241, 61%, 89%)
CMYKcmyk(59.6%, 60.5%, 0%, 10.6%)
CIE-LABlab(45.89, 40.55, -70.04)
CIE-LCHlch(45.89, 80.93, 300.07°)
OKLaboklab(55.01% 0.0283 -0.2014)
OKLCHoklch(55.01% 0.203 278)
XYZxyz(22.0689, 15.1874, 75.1523)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5AE4 #E2E45A
analogous
#5A9DE4 #5C5AE4 #A15AE4
triadic
#5C5AE4 #E45C5A #5AE45C
tetradic
#5C5AE4 #E45A9D #E2E45A #5AE4A1
square
#5C5AE4 #E45A9D #E2E45A #5AE4A1
split-complementary
#5C5AE4 #E4A15A #9DE45A
monochromatic
#1E1CA8 #2825DB #5C5AE4 #908FED #C4C3F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C5AE4#FFFFFF#000000##FFFFFF
##5C5AE41.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)
#0072E8
Deuteranopia (green-blind)
#0067E1
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5c5ae4;
/* rgb */ color: rgb(92, 90, 228);
/* oklch */ color: oklch(55.0% 0.203 278.0);
Tailwind
colors: {
  custom: {
    50: '#9789ed',
    500: '#5c5ae4',
    950: '#000000',
  },
}
SCSS
$custom: #5c5ae4;
$custom-light: #9789ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5ae4",
  "rgb": {
    "r": 92,
    "g": 90,
    "b": 228
  },
  "hsl": {
    "h": 240.87,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.5501,
    "c": 0.20343,
    "h": 278
  },
  "luminance": 0.15189
}

Semantic roles & 50–950 ramp

primary
#5C5AE4
secondary
#E5E6B4
accent
#D412D1
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5C5AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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