#5B5EE8#5B5EE8

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

Color values

HEX#5B5EE8
RGBrgb(91, 94, 232)
HSLhsl(239, 75%, 63%)
HSVhsv(239, 61%, 91%)
CMYKcmyk(60.8%, 59.5%, 0%, 9%)
CIE-LABlab(47.05, 39.28, -70.42)
CIE-LCHlch(47.05, 80.64, 299.15°)
OKLaboklab(55.94% 0.0235 -0.2026)
OKLCHoklch(55.94% 0.204 276.6)
XYZxyz(22.8779, 16.0540, 78.2214)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5EE8 #E8E55B
analogous
#5BA5E8 #5B5EE8 #9E5BE8
triadic
#5B5EE8 #E85B5E #5EE85B
tetradic
#5B5EE8 #E85BA5 #E8E55B #5BE89E
square
#5B5EE8 #E85BA5 #E8E55B #5BE89E
split-complementary
#5B5EE8 #E89E5B #A5E85B
monochromatic
#191CB0 #2529E0 #5B5EE8 #9193F0 #C6C7F7

Accessibility & contrast

On white

4.99
#5B5EE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#5B5EE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5EE8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5EE8#FFFFFF#000000##FFFFFF
##5B5EE81.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#006AE5
Tritanopia (blue-blind)
#00809A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5b5ee8;
/* rgb */ color: rgb(91, 94, 232);
/* oklch */ color: oklch(55.9% 0.204 276.6);
Tailwind
colors: {
  custom: {
    50: '#978cf0',
    500: '#5b5ee8',
    950: '#000000',
  },
}
SCSS
$custom: #5b5ee8;
$custom-light: #978cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5ee8",
  "rgb": {
    "r": 91,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 238.723,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55937,
    "c": 0.20393,
    "h": 276.6
  },
  "luminance": 0.16056
}

Semantic roles & 50–950 ramp

primary
#5B5EE8
secondary
#E9E7B6
accent
#D30ED8
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B5EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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