#5B5EE9#5B5EE9

#5B5EE9 is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.0% C 0.205 H 276.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5B5EE9
RGBrgb(91, 94, 233)
HSLhsl(239, 76%, 64%)
HSVhsv(239, 61%, 91%)
CMYKcmyk(60.9%, 59.7%, 0%, 8.6%)
CIE-LABlab(47.12, 39.60, -70.87)
CIE-LCHlch(47.12, 81.18, 299.20°)
OKLaboklab(56.02% 0.0235 -0.2039)
OKLCHoklch(56.02% 0.205 276.6)
XYZxyz(23.0203, 16.1109, 78.9716)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5EE9 #E9E65B
analogous
#5BA5E9 #5B5EE9 #9F5BE9
triadic
#5B5EE9 #E95B5E #5EE95B
tetradic
#5B5EE9 #E95BA5 #E9E65B #5BE99F
square
#5B5EE9 #E95BA5 #E9E65B #5BE99F
split-complementary
#5B5EE9 #E99F5B #A5E95B
monochromatic
#181BB2 #2529E2 #5B5EE9 #9193F0 #C7C8F7

Accessibility & contrast

On white

4.97
#5B5EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5B5EE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5EE9
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5EE9#FFFFFF#000000##FFFFFF
##5B5EE91.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EE
Deuteranopia (green-blind)
#006AE6
Tritanopia (blue-blind)
#00809B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5b5ee9;
/* rgb */ color: rgb(91, 94, 233);
/* oklch */ color: oklch(56.0% 0.205 276.6);
Tailwind
colors: {
  custom: {
    50: '#978cf1',
    500: '#5b5ee9',
    950: '#000000',
  },
}
SCSS
$custom: #5b5ee9;
$custom-light: #978cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5ee9",
  "rgb": {
    "r": 91,
    "g": 94,
    "b": 233
  },
  "hsl": {
    "h": 238.732,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56015,
    "c": 0.20521,
    "h": 276.6
  },
  "luminance": 0.16113
}

Semantic roles & 50–950 ramp

primary
#5B5EE9
secondary
#E9E8B7
accent
#D40DD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B5EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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