#5C5AEA#5C5AEA

#5C5AEA is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.5% C 0.211 H 277.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5C5AEA
RGBrgb(92, 90, 234)
HSLhsl(241, 77%, 64%)
HSVhsv(241, 62%, 92%)
CMYKcmyk(60.7%, 61.5%, 0%, 8.2%)
CIE-LABlab(46.35, 42.46, -72.69)
CIE-LCHlch(46.35, 84.18, 300.29°)
OKLaboklab(55.49% 0.028 -0.2092)
OKLCHoklch(55.49% 0.211 277.6)
XYZxyz(22.9163, 15.5264, 79.6152)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5AEA #E8EA5A
analogous
#5AA0EA #5C5AEA #A45AEA
triadic
#5C5AEA #EA5C5A #5AEA5C
tetradic
#5C5AEA #EA5AA0 #E8EA5A #5AEAA4
square
#5C5AEA #EA5AA0 #E8EA5A #5AEAA4
split-complementary
#5C5AEA #EAA45A #A0EA5A
monochromatic
#1917B3 #2624E3 #5C5AEA #9290F1 #C7C7F8

Accessibility & contrast

On white

5.11
#5C5AEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5C5AEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5AEA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5AEA#FFFFFF#000000##FFFFFF
##5C5AEA1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#0068E7
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5c5aea;
/* rgb */ color: rgb(92, 90, 234);
/* oklch */ color: oklch(55.5% 0.211 277.6);
Tailwind
colors: {
  custom: {
    50: '#9889f2',
    500: '#5c5aea',
    950: '#000000',
  },
}
SCSS
$custom: #5c5aea;
$custom-light: #9889f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5aea",
  "rgb": {
    "r": 92,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 240.833,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55488,
    "c": 0.21108,
    "h": 277.6
  },
  "luminance": 0.15528
}

Semantic roles & 50–950 ramp

primary
#5C5AEA
secondary
#E9E9B6
accent
#DA0CD7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C5AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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