#5C5BE9#5C5BE9

#5C5BE9 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.6% C 0.209 H 277.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5C5BE9
RGBrgb(92, 91, 233)
HSLhsl(240, 76%, 64%)
HSVhsv(240, 61%, 91%)
CMYKcmyk(60.5%, 60.9%, 0%, 8.6%)
CIE-LABlab(46.50, 41.55, -71.88)
CIE-LCHlch(46.50, 83.02, 300.03°)
OKLaboklab(55.58% 0.0272 -0.2068)
OKLCHoklch(55.58% 0.209 277.5)
XYZxyz(22.8580, 15.6389, 78.8891)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5BE9 #E8E95B
analogous
#5BA1E9 #5C5BE9 #A35BE9
triadic
#5C5BE9 #E95C5B #5BE95C
tetradic
#5C5BE9 #E95BA1 #E8E95B #5BE9A3
square
#5C5BE9 #E95BA1 #E8E95B #5BE9A3
split-complementary
#5C5BE9 #E9A35B #A1E95B
monochromatic
#1918B2 #2625E2 #5C5BE9 #9291F0 #C7C7F7

Accessibility & contrast

On white

5.09
#5C5BE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5C5BE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5BE9
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5BE9#FFFFFF#000000##FFFFFF
##5C5BE91.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EE
Deuteranopia (green-blind)
#0068E6
Tritanopia (blue-blind)
#007E99
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5c5be9;
/* rgb */ color: rgb(92, 91, 233);
/* oklch */ color: oklch(55.6% 0.209 277.5);
Tailwind
colors: {
  custom: {
    50: '#988af1',
    500: '#5c5be9',
    950: '#000000',
  },
}
SCSS
$custom: #5c5be9;
$custom-light: #988af1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5be9",
  "rgb": {
    "r": 92,
    "g": 91,
    "b": 233
  },
  "hsl": {
    "h": 240.423,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55575,
    "c": 0.20862,
    "h": 277.5
  },
  "luminance": 0.15641
}

Semantic roles & 50–950 ramp

primary
#5C5BE9
secondary
#E9E9B7
accent
#D90DD7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C5BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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