#5C5BEB#5C5BEB

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

Color values

HEX#5C5BEB
RGBrgb(92, 91, 235)
HSLhsl(240, 78%, 64%)
HSVhsv(240, 61%, 92%)
CMYKcmyk(60.9%, 61.3%, 0%, 7.8%)
CIE-LABlab(46.65, 42.19, -72.76)
CIE-LCHlch(46.65, 84.10, 300.11°)
OKLaboklab(55.74% 0.0271 -0.2094)
OKLCHoklch(55.74% 0.211 277.4)
XYZxyz(23.1453, 15.7538, 80.4023)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5BEB #EAEB5B
analogous
#5BA2EB #5C5BEB #A45BEB
triadic
#5C5BEB #EB5C5B #5BEB5C
tetradic
#5C5BEB #EB5BA2 #EAEB5B #5BEBA4
square
#5C5BEB #EB5BA2 #EAEB5B #5BEBA4
split-complementary
#5C5BEB #EBA45B #A2EB5B
monochromatic
#1716B5 #2624E4 #5C5BEB #9292F2 #C8C8F8

Accessibility & contrast

On white

5.06
#5C5BEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5C5BEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5BEB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5BEB#FFFFFF#000000##FFFFFF
##5C5BEB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#0068E8
Tritanopia (blue-blind)
#007F9A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5c5beb;
/* rgb */ color: rgb(92, 91, 235);
/* oklch */ color: oklch(55.7% 0.211 277.4);
Tailwind
colors: {
  custom: {
    50: '#988af2',
    500: '#5c5beb',
    950: '#000000',
  },
}
SCSS
$custom: #5c5beb;
$custom-light: #988af2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5beb",
  "rgb": {
    "r": 92,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 240.417,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.55735,
    "c": 0.21116,
    "h": 277.4
  },
  "luminance": 0.15756
}

Semantic roles & 50–950 ramp

primary
#5C5BEB
secondary
#EAEAB8
accent
#DB0BD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C5BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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