#5B5EE7#5B5EE7

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

Color values

HEX#5B5EE7
RGBrgb(91, 94, 231)
HSLhsl(239, 74%, 63%)
HSVhsv(239, 61%, 91%)
CMYKcmyk(60.6%, 59.3%, 0%, 9.4%)
CIE-LABlab(46.97, 38.96, -69.98)
CIE-LCHlch(46.97, 80.09, 299.10°)
OKLaboklab(55.86% 0.0235 -0.2013)
OKLCHoklch(55.86% 0.203 276.7)
XYZxyz(22.7362, 15.9973, 77.4755)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5EE7 #E7E45B
analogous
#5BA4E7 #5B5EE7 #9E5BE7
triadic
#5B5EE7 #E75B5E #5EE75B
tetradic
#5B5EE7 #E75BA4 #E7E45B #5BE79E
square
#5B5EE7 #E75BA4 #E7E45B #5BE79E
split-complementary
#5B5EE7 #E79E5B #A4E75B
monochromatic
#191DAE #262ADF #5B5EE7 #9092EF #C6C7F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B5EE7#FFFFFF#000000##FFFFFF
##5B5EE71.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)
#0075EC
Deuteranopia (green-blind)
#0069E4
Tritanopia (blue-blind)
#007F99
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5b5ee7;
/* rgb */ color: rgb(91, 94, 231);
/* oklch */ color: oklch(55.9% 0.203 276.7);
Tailwind
colors: {
  custom: {
    50: '#978cf0',
    500: '#5b5ee7',
    950: '#000000',
  },
}
SCSS
$custom: #5b5ee7;
$custom-light: #978cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5ee7",
  "rgb": {
    "r": 91,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 238.714,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55859,
    "c": 0.20264,
    "h": 276.7
  },
  "luminance": 0.15999
}

Semantic roles & 50–950 ramp

primary
#5B5EE7
secondary
#E8E7B6
accent
#D20FD7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B5EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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