#5B5AED#5B5AED

#5B5AED is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.7% C 0.215 H 277.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5B5AED
RGBrgb(91, 90, 237)
HSLhsl(240, 80%, 64%)
HSVhsv(240, 62%, 93%)
CMYKcmyk(61.6%, 62%, 0%, 7.1%)
CIE-LABlab(46.51, 43.27, -74.11)
CIE-LCHlch(46.51, 85.82, 300.28°)
OKLaboklab(55.66% 0.0266 -0.2134)
OKLCHoklch(55.66% 0.215 277.1)
XYZxyz(23.2517, 15.6491, 81.8996)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5AED #ECED5A
analogous
#5AA3ED #5B5AED #A55AED
triadic
#5B5AED #ED5B5A #5AED5B
tetradic
#5B5AED #ED5AA3 #ECED5A #5AEDA5
square
#5B5AED #ED5AA3 #ECED5A #5AEDA5
split-complementary
#5B5AED #EDA55A #A3ED5A
monochromatic
#1514B8 #2423E7 #5B5AED #9291F3 #C9C8F9

Accessibility & contrast

On white

5.08
#5B5AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5B5AED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5AED
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5AED#FFFFFF#000000##FFFFFF
##5B5AED1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#0068EA
Tritanopia (blue-blind)
#007F9B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5b5aed;
/* rgb */ color: rgb(91, 90, 237);
/* oklch */ color: oklch(55.7% 0.215 277.1);
Tailwind
colors: {
  custom: {
    50: '#9889f4',
    500: '#5b5aed',
    950: '#000000',
  },
}
SCSS
$custom: #5b5aed;
$custom-light: #9889f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5aed",
  "rgb": {
    "r": 91,
    "g": 90,
    "b": 237
  },
  "hsl": {
    "h": 240.408,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55663,
    "c": 0.21509,
    "h": 277.1
  },
  "luminance": 0.15651
}

Semantic roles & 50–950 ramp

primary
#5B5AED
secondary
#EBEBB8
accent
#DD09DB
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B5AED

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

Preview Lab → · Contrast checker → · Palette generator →

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