#5C5CE5#5C5CE5

#5C5CE5 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.4% C 0.202 H 277.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5C5CE5
RGBrgb(92, 92, 229)
HSLhsl(240, 72%, 63%)
HSVhsv(240, 60%, 90%)
CMYKcmyk(59.8%, 59.8%, 0%, 10.2%)
CIE-LABlab(46.43, 39.67, -69.74)
CIE-LCHlch(46.43, 80.23, 299.64°)
OKLaboklab(55.43% 0.0265 -0.2005)
OKLCHoklch(55.43% 0.202 277.5)
XYZxyz(22.3791, 15.5851, 75.9425)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5CE5 #E5E55C
analogous
#5CA0E5 #5C5CE5 #A05CE5
triadic
#5C5CE5 #E55C5C #5CE55C
tetradic
#5C5CE5 #E55CA0 #E5E55C #5CE5A0
square
#5C5CE5 #E55CA0 #E5E55C #5CE5A0
split-complementary
#5C5CE5 #E5A05C #A0E55C
monochromatic
#1B1BAB #2727DD #5C5CE5 #9191ED #C6C6F6

Accessibility & contrast

On white

5.10
#5C5CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5C5CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5CE5
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5CE5#FFFFFF#000000##FFFFFF
##5C5CE51.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5c5ce5;
/* rgb */ color: rgb(92, 92, 229);
/* oklch */ color: oklch(55.4% 0.202 277.5);
Tailwind
colors: {
  custom: {
    50: '#978aee',
    500: '#5c5ce5',
    950: '#000000',
  },
}
SCSS
$custom: #5c5ce5;
$custom-light: #978aee;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5ce5",
  "rgb": {
    "r": 92,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 240,
    "s": 72.487,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55428,
    "c": 0.20228,
    "h": 277.5
  },
  "luminance": 0.15587
}

Semantic roles & 50–950 ramp

primary
#5C5CE5
secondary
#E7E7B6
accent
#D511D5
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #5C5CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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