#5C5CEE#5C5CEE

#5C5CEE is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.1% C 0.214 H 277.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5C5CEE
RGBrgb(92, 92, 238)
HSLhsl(240, 81%, 65%)
HSVhsv(240, 61%, 93%)
CMYKcmyk(61.3%, 61.3%, 0%, 6.7%)
CIE-LABlab(47.11, 42.56, -73.70)
CIE-LCHlch(47.11, 85.10, 300.00°)
OKLaboklab(56.14% 0.0261 -0.2122)
OKLCHoklch(56.14% 0.214 277)
XYZxyz(23.6684, 16.1008, 82.7328)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5CEE #EEEE5C
analogous
#5CA5EE #5C5CEE #A55CEE
triadic
#5C5CEE #EE5C5C #5CEE5C
tetradic
#5C5CEE #EE5CA5 #EEEE5C #5CEEA5
square
#5C5CEE #EE5CA5 #EEEE5C #5CEEA5
split-complementary
#5C5CEE #EEA55C #A5EE5C
monochromatic
#1414BC #2525E8 #5C5CEE #9393F4 #CBCBFA

Accessibility & contrast

On white

4.98
#5C5CEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5C5CEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5CEE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5CEE#FFFFFF#000000##FFFFFF
##5C5CEE1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F3
Deuteranopia (green-blind)
#0069EB
Tritanopia (blue-blind)
#00809C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5c5cee;
/* rgb */ color: rgb(92, 92, 238);
/* oklch */ color: oklch(56.1% 0.214 277.0);
Tailwind
colors: {
  custom: {
    50: '#988af5',
    500: '#5c5cee',
    950: '#000000',
  },
}
SCSS
$custom: #5c5cee;
$custom-light: #988af5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5cee",
  "rgb": {
    "r": 92,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 240,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.56141,
    "c": 0.21378,
    "h": 277
  },
  "luminance": 0.16103
}

Semantic roles & 50–950 ramp

primary
#5C5CEE
secondary
#ECECBA
accent
#DD08DD
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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