#5C5BE7#5C5BE7

#5C5BE7 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.4% C 0.206 H 277.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5C5BE7
RGBrgb(92, 91, 231)
HSLhsl(240, 74%, 63%)
HSVhsv(240, 61%, 91%)
CMYKcmyk(60.2%, 60.6%, 0%, 9.4%)
CIE-LABlab(46.35, 40.91, -71.00)
CIE-LCHlch(46.35, 81.94, 299.95°)
OKLaboklab(55.42% 0.0273 -0.2042)
OKLCHoklch(55.42% 0.206 277.6)
XYZxyz(22.5739, 15.5253, 77.3929)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5BE7 #E6E75B
analogous
#5BA0E7 #5C5BE7 #A25BE7
triadic
#5C5BE7 #E75C5B #5BE75C
tetradic
#5C5BE7 #E75BA0 #E6E75B #5BE7A2
square
#5C5BE7 #E75BA0 #E6E75B #5BE7A2
split-complementary
#5C5BE7 #E7A25B #A0E75B
monochromatic
#1B19AE #2726DF #5C5BE7 #9190EF #C6C6F7

Accessibility & contrast

On white

5.12
#5C5BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5C5BE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5BE7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5BE7#FFFFFF#000000##FFFFFF
##5C5BE71.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#0068E4
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5c5be7;
/* rgb */ color: rgb(92, 91, 231);
/* oklch */ color: oklch(55.4% 0.206 277.6);
Tailwind
colors: {
  custom: {
    50: '#978af0',
    500: '#5c5be7',
    950: '#000000',
  },
}
SCSS
$custom: #5c5be7;
$custom-light: #978af0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5be7",
  "rgb": {
    "r": 92,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 240.429,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55416,
    "c": 0.20607,
    "h": 277.6
  },
  "luminance": 0.15527
}

Semantic roles & 50–950 ramp

primary
#5C5BE7
secondary
#E8E8B6
accent
#D70FD5
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C5BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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