#5C5CE9#5C5CE9

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

Color values

HEX#5C5CE9
RGBrgb(92, 92, 233)
HSLhsl(240, 76%, 64%)
HSVhsv(240, 61%, 91%)
CMYKcmyk(60.5%, 60.5%, 0%, 8.6%)
CIE-LABlab(46.73, 40.96, -71.51)
CIE-LCHlch(46.73, 82.40, 299.80°)
OKLaboklab(55.74% 0.0263 -0.2057)
OKLCHoklch(55.74% 0.207 277.3)
XYZxyz(22.9440, 15.8110, 78.9178)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5CE9 #E9E95C
analogous
#5CA2E9 #5C5CE9 #A25CE9
triadic
#5C5CE9 #E95C5C #5CE95C
tetradic
#5C5CE9 #E95CA2 #E9E95C #5CE9A2
square
#5C5CE9 #E95CA2 #E9E95C #5CE9A2
split-complementary
#5C5CE9 #E9A25C #A2E95C
monochromatic
#1818B3 #2626E2 #5C5CE9 #9292F0 #C8C8F8

Accessibility & contrast

On white

5.04
#5C5CE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5C5CE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5CE9
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5CE9#FFFFFF#000000##FFFFFF
##5C5CE91.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EE
Deuteranopia (green-blind)
#0069E6
Tritanopia (blue-blind)
#007F9A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5c5ce9;
/* rgb */ color: rgb(92, 92, 233);
/* oklch */ color: oklch(55.7% 0.207 277.3);
Tailwind
colors: {
  custom: {
    50: '#988af1',
    500: '#5c5ce9',
    950: '#000000',
  },
}
SCSS
$custom: #5c5ce9;
$custom-light: #988af1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5ce9",
  "rgb": {
    "r": 92,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 240,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55743,
    "c": 0.20742,
    "h": 277.3
  },
  "luminance": 0.15813
}

Semantic roles & 50–950 ramp

primary
#5C5CE9
secondary
#E9E9B8
accent
#D80DD8
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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