#5B5CED#5B5CED

#5B5CED is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.0% C 0.213 H 276.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5B5CED
RGBrgb(91, 92, 237)
HSLhsl(240, 80%, 64%)
HSVhsv(240, 62%, 93%)
CMYKcmyk(61.6%, 61.2%, 0%, 7.1%)
CIE-LABlab(46.96, 42.08, -73.37)
CIE-LCHlch(46.96, 84.59, 299.84°)
OKLaboklab(56% 0.025 -0.2112)
OKLCHoklch(56% 0.213 276.7)
XYZxyz(23.4226, 15.9910, 81.9566)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5CED #EDEC5B
analogous
#5BA5ED #5B5CED #A35BED
triadic
#5B5CED #ED5B5C #5CED5B
tetradic
#5B5CED #ED5BA5 #EDEC5B #5BEDA3
square
#5B5CED #ED5BA5 #EDEC5B #5BEDA3
split-complementary
#5B5CED #EDA35B #A5ED5B
monochromatic
#1415B9 #2425E7 #5B5CED #9293F3 #C9CAF9

Accessibility & contrast

On white

5.00
#5B5CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5B5CED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5CED
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5CED#FFFFFF#000000##FFFFFF
##5B5CED1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#0069EA
Tritanopia (blue-blind)
#00809C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5b5ced;
/* rgb */ color: rgb(91, 92, 237);
/* oklch */ color: oklch(56.0% 0.213 276.7);
Tailwind
colors: {
  custom: {
    50: '#988af4',
    500: '#5b5ced',
    950: '#000000',
  },
}
SCSS
$custom: #5b5ced;
$custom-light: #988af4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5ced",
  "rgb": {
    "r": 91,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 239.589,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.55995,
    "c": 0.21272,
    "h": 276.7
  },
  "luminance": 0.15993
}

Semantic roles & 50–950 ramp

primary
#5B5CED
secondary
#EBEBB9
accent
#DB09DD
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B5CED

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

Preview Lab → · Contrast checker → · Palette generator →

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