#5B5AE5#5B5AE5

#5B5AE5 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.0% C 0.205 H 277.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5B5AE5
RGBrgb(91, 90, 229)
HSLhsl(240, 73%, 63%)
HSVhsv(240, 61%, 90%)
CMYKcmyk(60.3%, 60.7%, 0%, 10.2%)
CIE-LABlab(45.90, 40.71, -70.60)
CIE-LCHlch(45.90, 81.50, 299.97°)
OKLaboklab(55.02% 0.0271 -0.2031)
OKLCHoklch(55.02% 0.205 277.6)
XYZxyz(22.1089, 15.1919, 75.8808)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5AE5 #E4E55A
analogous
#5A9EE5 #5B5AE5 #A15AE5
triadic
#5B5AE5 #E55B5A #5AE55B
tetradic
#5B5AE5 #E55A9E #E4E55A #5AE5A1
square
#5B5AE5 #E55A9E #E4E55A #5AE5A1
split-complementary
#5B5AE5 #E5A15A #9EE55A
monochromatic
#1C1BAA #2625DD #5B5AE5 #908FED #C4C4F6

Accessibility & contrast

On white

5.20
#5B5AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5B5AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5AE5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5AE5#FFFFFF#000000##FFFFFF
##5B5AE51.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#0067E2
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5b5ae5;
/* rgb */ color: rgb(91, 90, 229);
/* oklch */ color: oklch(55.0% 0.205 277.6);
Tailwind
colors: {
  custom: {
    50: '#9789ee',
    500: '#5b5ae5',
    950: '#000000',
  },
}
SCSS
$custom: #5b5ae5;
$custom-light: #9789ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5ae5",
  "rgb": {
    "r": 91,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 240.432,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.5502,
    "c": 0.20492,
    "h": 277.6
  },
  "luminance": 0.15194
}

Semantic roles & 50–950 ramp

primary
#5B5AE5
secondary
#E6E7B4
accent
#D511D3
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5B5AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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