#5C5BE4#5C5BE4

#5C5BE4 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.2% C 0.202 H 277.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5C5BE4
RGBrgb(92, 91, 228)
HSLhsl(240, 72%, 63%)
HSVhsv(240, 60%, 89%)
CMYKcmyk(59.6%, 60.1%, 0%, 10.6%)
CIE-LABlab(46.12, 39.95, -69.67)
CIE-LCHlch(46.12, 80.31, 299.83°)
OKLaboklab(55.18% 0.0274 -0.2003)
OKLCHoklch(55.18% 0.202 277.8)
XYZxyz(22.1538, 15.3573, 75.1806)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5BE4 #E3E45B
analogous
#5B9EE4 #5C5BE4 #A15BE4
triadic
#5C5BE4 #E45C5B #5BE45C
tetradic
#5C5BE4 #E45B9E #E3E45B #5BE4A1
square
#5C5BE4 #E45B9E #E3E45B #5BE4A1
split-complementary
#5C5BE4 #E4A15B #9EE45B
monochromatic
#1D1CA9 #2826DB #5C5BE4 #9090ED #C4C4F5

Accessibility & contrast

On white

5.16
#5C5BE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5C5BE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5BE4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5BE4#FFFFFF#000000##FFFFFF
##5C5BE41.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E8
Deuteranopia (green-blind)
#0068E1
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5c5be4;
/* rgb */ color: rgb(92, 91, 228);
/* oklch */ color: oklch(55.2% 0.202 277.8);
Tailwind
colors: {
  custom: {
    50: '#9789ed',
    500: '#5c5be4',
    950: '#000000',
  },
}
SCSS
$custom: #5c5be4;
$custom-light: #9789ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5be4",
  "rgb": {
    "r": 92,
    "g": 91,
    "b": 228
  },
  "hsl": {
    "h": 240.438,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55179,
    "c": 0.20222,
    "h": 277.8
  },
  "luminance": 0.15359
}

Semantic roles & 50–950 ramp

primary
#5C5BE4
secondary
#E6E6B4
accent
#D412D2
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5C5BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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