#5B5AE2#5B5AE2

#5B5AE2 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.8% C 0.201 H 277.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5B5AE2
RGBrgb(91, 90, 226)
HSLhsl(240, 70%, 62%)
HSVhsv(240, 60%, 89%)
CMYKcmyk(59.7%, 60.2%, 0%, 11.4%)
CIE-LABlab(45.67, 39.75, -69.27)
CIE-LCHlch(45.67, 79.86, 299.85°)
OKLaboklab(54.78% 0.0272 -0.1992)
OKLCHoklch(54.78% 0.201 277.8)
XYZxyz(21.6936, 15.0258, 73.6939)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5AE2 #E1E25A
analogous
#5A9DE2 #5B5AE2 #9F5AE2
triadic
#5B5AE2 #E25B5A #5AE25B
tetradic
#5B5AE2 #E25A9D #E1E25A #5AE29F
square
#5B5AE2 #E25A9D #E1E25A #5AE29F
split-complementary
#5B5AE2 #E29F5A #9DE25A
monochromatic
#1E1DA5 #2726D9 #5B5AE2 #8F8EEB #C2C2F4

Accessibility & contrast

On white

5.24
#5B5AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5B5AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5AE2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5AE2#FFFFFF#000000##FFFFFF
##5B5AE21.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#007B95
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5b5ae2;
/* rgb */ color: rgb(91, 90, 226);
/* oklch */ color: oklch(54.8% 0.201 277.8);
Tailwind
colors: {
  custom: {
    50: '#9689ec',
    500: '#5b5ae2',
    950: '#000000',
  },
}
SCSS
$custom: #5b5ae2;
$custom-light: #9689ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5ae2",
  "rgb": {
    "r": 91,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 240.441,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54783,
    "c": 0.20106,
    "h": 277.8
  },
  "luminance": 0.15027
}

Semantic roles & 50–950 ramp

primary
#5B5AE2
secondary
#E5E5B3
accent
#D213D1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5B5AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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