#5B5EED#5B5EED

#5B5EED is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.3% C 0.210 H 276.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5B5EED
RGBrgb(91, 94, 237)
HSLhsl(239, 80%, 64%)
HSVhsv(239, 62%, 93%)
CMYKcmyk(61.6%, 60.3%, 0%, 7.1%)
CIE-LABlab(47.42, 40.89, -72.63)
CIE-LCHlch(47.42, 83.35, 299.38°)
OKLaboklab(56.33% 0.0233 -0.209)
OKLCHoklch(56.33% 0.21 276.4)
XYZxyz(23.5982, 16.3421, 82.0151)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5EED #EDEA5B
analogous
#5BA7ED #5B5EED #A15BED
triadic
#5B5EED #ED5B5E #5EED5B
tetradic
#5B5EED #ED5BA7 #EDEA5B #5BEDA1
square
#5B5EED #ED5BA7 #EDEA5B #5BEDA1
split-complementary
#5B5EED #EDA15B #A7ED5B
monochromatic
#1418B9 #2428E7 #5B5EED #9294F3 #C9CAF9

Accessibility & contrast

On white

4.92
#5B5EED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5B5EED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5EED
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5EED#FFFFFF#000000##FFFFFF
##5B5EED1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F2
Deuteranopia (green-blind)
#006AEA
Tritanopia (blue-blind)
#00819D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5b5eed;
/* rgb */ color: rgb(91, 94, 237);
/* oklch */ color: oklch(56.3% 0.210 276.4);
Tailwind
colors: {
  custom: {
    50: '#988cf4',
    500: '#5b5eed',
    950: '#000000',
  },
}
SCSS
$custom: #5b5eed;
$custom-light: #988cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5eed",
  "rgb": {
    "r": 91,
    "g": 94,
    "b": 237
  },
  "hsl": {
    "h": 238.767,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56331,
    "c": 0.21035,
    "h": 276.4
  },
  "luminance": 0.16344
}

Semantic roles & 50–950 ramp

primary
#5B5EED
secondary
#EBEAB9
accent
#D809DD
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B5EED

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

Preview Lab → · Contrast checker → · Palette generator →

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