#5B5D91#5B5D91

#5B5D91 is a mid, moderate blue. Relative luminance 0.121; OKLCH L 49.9% C 0.082 H 281.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5B5D91
RGBrgb(91, 93, 145)
HSLhsl(238, 23%, 46%)
HSVhsv(238, 37%, 57%)
CMYKcmyk(37.2%, 35.9%, 0%, 43.1%)
CIE-LABlab(41.37, 12.55, -28.90)
CIE-LCHlch(41.37, 31.50, 293.47°)
OKLaboklab(49.93% 0.0161 -0.0808)
OKLCHoklch(49.93% 0.082 281.3)
XYZxyz(13.3381, 12.0967, 28.4147)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5D91 #918F5B
analogous
#5B7891 #5B5D91 #745B91
triadic
#5B5D91 #915B5D #5D915B
tetradic
#5B5D91 #915B78 #918F5B #5B9174
square
#5B5D91 #915B78 #918F5B #5B9174
split-complementary
#5B5D91 #91745B #78915B
monochromatic
#2C2D46 #43456B #5B5D91 #7C7EAD #A2A3C5

Accessibility & contrast

On white

6.14
#5B5D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5B5D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5D91
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5D91#FFFFFF#000000##FFFFFF
##5B5D911.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6493
Deuteranopia (green-blind)
#4A6090
Tritanopia (blue-blind)
#4C6770
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5b5d91;
/* rgb */ color: rgb(91, 93, 145);
/* oklch */ color: oklch(49.9% 0.082 281.3);
Tailwind
colors: {
  custom: {
    50: '#8b8ab1',
    500: '#5b5d91',
    950: '#000000',
  },
}
SCSS
$custom: #5b5d91;
$custom-light: #8b8ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5d91",
  "rgb": {
    "r": 91,
    "g": 93,
    "b": 145
  },
  "hsl": {
    "h": 237.778,
    "s": 22.881,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49931,
    "c": 0.08242,
    "h": 281.3
  },
  "luminance": 0.12097
}

Semantic roles & 50–950 ramp

primary
#5B5D91
secondary
#B2B195
accent
#BC68BF
background
#F8F8FA
surface
#F0F0F5
border
#CBCBCF
text
#0C0B10
muted
#7D7C7F

Preview Lab

Preview with #5B5D91

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

Preview Lab → · Contrast checker → · Palette generator →

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