#5B5ABB#5B5ABB

#5B5ABB is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.9% C 0.149 H 280.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5B5ABB
RGBrgb(91, 90, 187)
HSLhsl(241, 42%, 54%)
HSVhsv(241, 52%, 73%)
CMYKcmyk(51.3%, 51.9%, 0%, 26.7%)
CIE-LABlab(42.95, 27.28, -51.26)
CIE-LCHlch(42.95, 58.06, 298.02°)
OKLaboklab(51.9% 0.0267 -0.1462)
OKLCHoklch(51.9% 0.149 280.3)
XYZxyz(16.9374, 13.1234, 48.6447)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5ABB #BABB5A
analogous
#5A89BB #5B5ABB #8C5ABB
triadic
#5B5ABB #BB5B5A #5ABB5B
tetradic
#5B5ABB #BB5A89 #BABB5A #5ABB8C
square
#5B5ABB #BB5A89 #BABB5A #5ABB8C
split-complementary
#5B5ABB #BB8C5A #89BB5A
monochromatic
#2E2D6D #403F99 #5B5ABB #8685CD #B1B1DF

Accessibility & contrast

On white

5.79
#5B5ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5B5ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5ABB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5ABB#FFFFFF#000000##FFFFFF
##5B5ABB1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2969BE
Deuteranopia (green-blind)
#1E62B9
Tritanopia (blue-blind)
#346F82
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5b5abb;
/* rgb */ color: rgb(91, 90, 187);
/* oklch */ color: oklch(51.9% 0.149 280.3);
Tailwind
colors: {
  custom: {
    50: '#9088d0',
    500: '#5b5abb',
    950: '#000000',
  },
}
SCSS
$custom: #5b5abb;
$custom-light: #9088d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5abb",
  "rgb": {
    "r": 91,
    "g": 90,
    "b": 187
  },
  "hsl": {
    "h": 240.619,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.519,
    "c": 0.14865,
    "h": 280.3
  },
  "luminance": 0.13124
}

Semantic roles & 50–950 ramp

primary
#5B5ABB
secondary
#CDCDA4
accent
#D156D0
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5B5ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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