#5C5CE8#5C5CE8

#5C5CE8 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.7% C 0.206 H 277.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5C5CE8
RGBrgb(92, 92, 232)
HSLhsl(240, 75%, 64%)
HSVhsv(240, 60%, 91%)
CMYKcmyk(60.3%, 60.3%, 0%, 9%)
CIE-LABlab(46.65, 40.64, -71.06)
CIE-LCHlch(46.65, 81.86, 299.76°)
OKLaboklab(55.66% 0.0264 -0.2044)
OKLCHoklch(55.66% 0.206 277.4)
XYZxyz(22.8016, 15.7541, 78.1676)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5CE8 #E8E85C
analogous
#5CA2E8 #5C5CE8 #A25CE8
triadic
#5C5CE8 #E85C5C #5CE85C
tetradic
#5C5CE8 #E85CA2 #E8E85C #5CE8A2
square
#5C5CE8 #E85CA2 #E8E85C #5CE8A2
split-complementary
#5C5CE8 #E8A25C #A2E85C
monochromatic
#1919B1 #2626E0 #5C5CE8 #9292F0 #C7C7F7

Accessibility & contrast

On white

5.06
#5C5CE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5C5CE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5CE8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5CE8#FFFFFF#000000##FFFFFF
##5C5CE81.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#0069E5
Tritanopia (blue-blind)
#007E99
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5c5ce8;
/* rgb */ color: rgb(92, 92, 232);
/* oklch */ color: oklch(55.7% 0.206 277.4);
Tailwind
colors: {
  custom: {
    50: '#978af0',
    500: '#5c5ce8',
    950: '#000000',
  },
}
SCSS
$custom: #5c5ce8;
$custom-light: #978af0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5ce8",
  "rgb": {
    "r": 92,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 240,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55664,
    "c": 0.20613,
    "h": 277.4
  },
  "luminance": 0.15756
}

Semantic roles & 50–950 ramp

primary
#5C5CE8
secondary
#E9E9B7
accent
#D70ED7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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