#5B5ADB#5B5ADB

#5B5ADB is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.2% C 0.192 H 278.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5B5ADB
RGBrgb(91, 90, 219)
HSLhsl(240, 64%, 61%)
HSVhsv(240, 59%, 86%)
CMYKcmyk(58.4%, 58.9%, 0%, 14.1%)
CIE-LABlab(45.15, 37.50, -66.14)
CIE-LCHlch(45.15, 76.03, 299.55°)
OKLaboklab(54.24% 0.0274 -0.19)
OKLCHoklch(54.24% 0.192 278.2)
XYZxyz(20.7526, 14.6495, 68.7381)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5ADB #DADB5A
analogous
#5A99DB #5B5ADB #9B5ADB
triadic
#5B5ADB #DB5B5A #5ADB5B
tetradic
#5B5ADB #DB5A99 #DADB5A #5ADB9B
square
#5B5ADB #DB5A99 #DADB5A #5ADB9B
split-complementary
#5B5ADB #DB9B5A #99DB5A
monochromatic
#222199 #2E2CCB #5B5ADB #8D8CE6 #BFBEF1

Accessibility & contrast

On white

5.34
#5B5ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5B5ADB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5ADB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5ADB#FFFFFF#000000##FFFFFF
##5B5ADB1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#007992
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5b5adb;
/* rgb */ color: rgb(91, 90, 219);
/* oklch */ color: oklch(54.2% 0.192 278.2);
Tailwind
colors: {
  custom: {
    50: '#9589e7',
    500: '#5b5adb',
    950: '#000000',
  },
}
SCSS
$custom: #5b5adb;
$custom-light: #9589e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5adb",
  "rgb": {
    "r": 91,
    "g": 90,
    "b": 219
  },
  "hsl": {
    "h": 240.465,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54237,
    "c": 0.19197,
    "h": 278.2
  },
  "luminance": 0.14651
}

Semantic roles & 50–950 ramp

primary
#5B5ADB
secondary
#E1E1B0
accent
#CC1ACB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5B5ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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