#5B5AE9#5B5AE9

#5B5AE9 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.3% C 0.210 H 277.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5B5AE9
RGBrgb(91, 90, 233)
HSLhsl(240, 76%, 63%)
HSVhsv(240, 61%, 91%)
CMYKcmyk(60.9%, 61.4%, 0%, 8.6%)
CIE-LABlab(46.20, 41.99, -72.36)
CIE-LCHlch(46.20, 83.66, 300.12°)
OKLaboklab(55.34% 0.0269 -0.2083)
OKLCHoklch(55.34% 0.21 277.4)
XYZxyz(22.6738, 15.4179, 78.8561)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5AE9 #E8E95A
analogous
#5AA0E9 #5B5AE9 #A35AE9
triadic
#5B5AE9 #E95B5A #5AE95B
tetradic
#5B5AE9 #E95AA0 #E8E95A #5AE9A3
square
#5B5AE9 #E95AA0 #E8E95A #5AE9A3
split-complementary
#5B5AE9 #E9A35A #A0E95A
monochromatic
#1918B1 #2524E2 #5B5AE9 #9190F0 #C6C6F7

Accessibility & contrast

On white

5.14
#5B5AE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#5B5AE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5AE9
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5AE9#FFFFFF#000000##FFFFFF
##5B5AE91.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EE
Deuteranopia (green-blind)
#0067E6
Tritanopia (blue-blind)
#007E99
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5b5ae9;
/* rgb */ color: rgb(91, 90, 233);
/* oklch */ color: oklch(55.3% 0.210 277.4);
Tailwind
colors: {
  custom: {
    50: '#9789f1',
    500: '#5b5ae9',
    950: '#000000',
  },
}
SCSS
$custom: #5b5ae9;
$custom-light: #9789f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5ae9",
  "rgb": {
    "r": 91,
    "g": 90,
    "b": 233
  },
  "hsl": {
    "h": 240.42,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5534,
    "c": 0.21002,
    "h": 277.4
  },
  "luminance": 0.1542
}

Semantic roles & 50–950 ramp

primary
#5B5AE9
secondary
#E9E9B6
accent
#D90DD7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B5AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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