#5C5CE6#5C5CE6

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

Color values

HEX#5C5CE6
RGBrgb(92, 92, 230)
HSLhsl(240, 73%, 63%)
HSVhsv(240, 60%, 90%)
CMYKcmyk(60%, 60%, 0%, 9.8%)
CIE-LABlab(46.50, 39.99, -70.18)
CIE-LCHlch(46.50, 80.78, 299.68°)
OKLaboklab(55.51% 0.0265 -0.2018)
OKLCHoklch(55.51% 0.204 277.5)
XYZxyz(22.5191, 15.6411, 76.6799)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5CE6 #E6E65C
analogous
#5CA1E6 #5C5CE6 #A15CE6
triadic
#5C5CE6 #E65C5C #5CE65C
tetradic
#5C5CE6 #E65CA1 #E6E65C #5CE6A1
square
#5C5CE6 #E65CA1 #E6E65C #5CE6A1
split-complementary
#5C5CE6 #E6A15C #A1E65C
monochromatic
#1B1BAD #2727DE #5C5CE6 #9191EE #C6C6F6

Accessibility & contrast

On white

5.09
#5C5CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5C5CE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5CE6
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5CE6#FFFFFF#000000##FFFFFF
##5C5CE61.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c5ce6;
/* rgb */ color: rgb(92, 92, 230);
/* oklch */ color: oklch(55.5% 0.204 277.5);
Tailwind
colors: {
  custom: {
    50: '#978aef',
    500: '#5c5ce6',
    950: '#000000',
  },
}
SCSS
$custom: #5c5ce6;
$custom-light: #978aef;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5ce6",
  "rgb": {
    "r": 92,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 240,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55506,
    "c": 0.20357,
    "h": 277.5
  },
  "luminance": 0.15643
}

Semantic roles & 50–950 ramp

primary
#5C5CE6
secondary
#E8E8B6
accent
#D610D6
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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