#5B5EE5#5B5EE5

#5B5EE5 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 55.7% C 0.200 H 276.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5B5EE5
RGBrgb(91, 94, 229)
HSLhsl(239, 73%, 63%)
HSVhsv(239, 60%, 90%)
CMYKcmyk(60.3%, 59%, 0%, 10.2%)
CIE-LABlab(46.82, 38.31, -69.09)
CIE-LCHlch(46.82, 79.00, 299.01°)
OKLaboklab(55.7% 0.0236 -0.1987)
OKLCHoklch(55.7% 0.2 276.8)
XYZxyz(22.4554, 15.8850, 75.9963)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5EE5 #E5E25B
analogous
#5BA3E5 #5B5EE5 #9D5BE5
triadic
#5B5EE5 #E55B5E #5EE55B
tetradic
#5B5EE5 #E55BA3 #E5E25B #5BE59D
square
#5B5EE5 #E55BA3 #E5E25B #5BE59D
split-complementary
#5B5EE5 #E59D5B #A3E55B
monochromatic
#1B1EAB #262ADD #5B5EE5 #9092ED #C5C6F6

Accessibility & contrast

On white

5.03
#5B5EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5B5EE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5EE5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5EE5#FFFFFF#000000##FFFFFF
##5B5EE51.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#0069E2
Tritanopia (blue-blind)
#007F98
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5b5ee5;
/* rgb */ color: rgb(91, 94, 229);
/* oklch */ color: oklch(55.7% 0.200 276.8);
Tailwind
colors: {
  custom: {
    50: '#968cee',
    500: '#5b5ee5',
    950: '#000000',
  },
}
SCSS
$custom: #5b5ee5;
$custom-light: #968cee;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5ee5",
  "rgb": {
    "r": 91,
    "g": 94,
    "b": 229
  },
  "hsl": {
    "h": 238.696,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55704,
    "c": 0.20005,
    "h": 276.8
  },
  "luminance": 0.15887
}

Semantic roles & 50–950 ramp

primary
#5B5EE5
secondary
#E7E6B5
accent
#D011D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5B5EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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