#5C5EE4#5C5EE4

#5C5EE4 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.7% C 0.199 H 277.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5C5EE4
RGBrgb(92, 94, 228)
HSLhsl(239, 72%, 63%)
HSVhsv(239, 60%, 89%)
CMYKcmyk(59.6%, 58.8%, 0%, 10.6%)
CIE-LABlab(46.82, 38.15, -68.53)
CIE-LCHlch(46.82, 78.44, 299.10°)
OKLaboklab(55.69% 0.0247 -0.197)
OKLCHoklch(55.69% 0.199 277.2)
XYZxyz(22.4154, 15.8805, 75.2678)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5EE4 #E4E25C
analogous
#5CA2E4 #5C5EE4 #9E5CE4
triadic
#5C5EE4 #E45C5E #5EE45C
tetradic
#5C5EE4 #E45CA2 #E4E25C #5CE49E
square
#5C5EE4 #E45CA2 #E4E25C #5CE49E
split-complementary
#5C5EE4 #E49E5C #A2E45C
monochromatic
#1C1EAA #272ADB #5C5EE4 #9192ED #C5C6F5

Accessibility & contrast

On white

5.03
#5C5EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5C5EE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5EE4
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5EE4#FFFFFF#000000##FFFFFF
##5C5EE41.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#0069E1
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5c5ee4;
/* rgb */ color: rgb(92, 94, 228);
/* oklch */ color: oklch(55.7% 0.199 277.2);
Tailwind
colors: {
  custom: {
    50: '#978ced',
    500: '#5c5ee4',
    950: '#000000',
  },
}
SCSS
$custom: #5c5ee4;
$custom-light: #978ced;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5ee4",
  "rgb": {
    "r": 92,
    "g": 94,
    "b": 228
  },
  "hsl": {
    "h": 239.118,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55694,
    "c": 0.19854,
    "h": 277.2
  },
  "luminance": 0.15882
}

Semantic roles & 50–950 ramp

primary
#5C5EE4
secondary
#E7E6B5
accent
#D112D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5C5EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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