#5B5DE9#5B5DE9

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

Color values

HEX#5B5DE9
RGBrgb(91, 93, 233)
HSLhsl(239, 76%, 64%)
HSVhsv(239, 61%, 91%)
CMYKcmyk(60.9%, 60.1%, 0%, 8.6%)
CIE-LABlab(46.89, 40.20, -71.24)
CIE-LCHlch(46.89, 81.80, 299.44°)
OKLaboklab(55.85% 0.0243 -0.205)
OKLCHoklch(55.85% 0.206 276.8)
XYZxyz(22.9320, 15.9342, 78.9422)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5DE9 #E9E75B
analogous
#5BA4E9 #5B5DE9 #A05BE9
triadic
#5B5DE9 #E95B5D #5DE95B
tetradic
#5B5DE9 #E95BA4 #E9E75B #5BE9A0
square
#5B5DE9 #E95BA4 #E9E75B #5BE9A0
split-complementary
#5B5DE9 #E9A05B #A4E95B
monochromatic
#181AB2 #2528E2 #5B5DE9 #9192F0 #C7C8F7

Accessibility & contrast

On white

5.02
#5B5DE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#5B5DE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5DE9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5DE9#FFFFFF#000000##FFFFFF
##5B5DE91.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EE
Deuteranopia (green-blind)
#0069E6
Tritanopia (blue-blind)
#007F9A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5b5de9;
/* rgb */ color: rgb(91, 93, 233);
/* oklch */ color: oklch(55.8% 0.206 276.8);
Tailwind
colors: {
  custom: {
    50: '#978bf1',
    500: '#5b5de9',
    950: '#000000',
  },
}
SCSS
$custom: #5b5de9;
$custom-light: #978bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5de9",
  "rgb": {
    "r": 91,
    "g": 93,
    "b": 233
  },
  "hsl": {
    "h": 239.155,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55845,
    "c": 0.20643,
    "h": 276.8
  },
  "luminance": 0.15936
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B5DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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