#5B5EEF#5B5EEF

#5B5EEF is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.5% C 0.213 H 276.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5B5EEF
RGBrgb(91, 94, 239)
HSLhsl(239, 82%, 65%)
HSVhsv(239, 62%, 94%)
CMYKcmyk(61.9%, 60.7%, 0%, 6.3%)
CIE-LABlab(47.57, 41.54, -73.50)
CIE-LCHlch(47.57, 84.43, 299.47°)
OKLaboklab(56.49% 0.0232 -0.2116)
OKLCHoklch(56.49% 0.213 276.3)
XYZxyz(23.8920, 16.4596, 83.5626)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5EEF #EFEC5B
analogous
#5BA8EF #5B5EEF #A25BEF
triadic
#5B5EEF #EF5B5E #5EEF5B
tetradic
#5B5EEF #EF5BA8 #EFEC5B #5BEFA2
square
#5B5EEF #EF5BA8 #EFEC5B #5BEFA2
split-complementary
#5B5EEF #EFA25B #A8EF5B
monochromatic
#1216BD #2327EA #5B5EEF #9395F4 #CBCBFA

Accessibility & contrast

On white

4.89
#5B5EEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5B5EEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5EEF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5EEF#FFFFFF#000000##FFFFFF
##5B5EEF1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#006AEC
Tritanopia (blue-blind)
#00829E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5b5eef;
/* rgb */ color: rgb(91, 94, 239);
/* oklch */ color: oklch(56.5% 0.213 276.3);
Tailwind
colors: {
  custom: {
    50: '#988cf5',
    500: '#5b5eef',
    950: '#000000',
  },
}
SCSS
$custom: #5b5eef;
$custom-light: #988cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5eef",
  "rgb": {
    "r": 91,
    "g": 94,
    "b": 239
  },
  "hsl": {
    "h": 238.784,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.5649,
    "c": 0.21289,
    "h": 276.3
  },
  "luminance": 0.16462
}

Semantic roles & 50–950 ramp

primary
#5B5EEF
secondary
#ECEBBA
accent
#DA07DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B5EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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