#5B5D83#5B5D83

#5B5D83 is a mid, moderate blue. Relative luminance 0.117; OKLCH L 49.2% C 0.061 H 281.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5B5D83
RGBrgb(91, 93, 131)
HSLhsl(237, 18%, 44%)
HSVhsv(237, 31%, 51%)
CMYKcmyk(30.5%, 29%, 0%, 48.6%)
CIE-LABlab(40.72, 8.59, -21.45)
CIE-LCHlch(40.72, 23.10, 291.82°)
OKLaboklab(49.22% 0.0122 -0.0594)
OKLCHoklch(49.22% 0.061 281.6)
XYZxyz(12.3244, 11.6912, 23.0756)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5D83 #83815B
analogous
#5B7183 #5B5D83 #6D5B83
triadic
#5B5D83 #835B5D #5D835B
tetradic
#5B5D83 #835B71 #83815B #5B836D
square
#5B5D83 #835B71 #83815B #5B836D
split-complementary
#5B5D83 #836D5B #71835B
monochromatic
#292A3B #42435F #5B5D83 #797BA2 #9D9FBB

Accessibility & contrast

On white

6.29
#5B5D83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5B5D83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5D83
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5D83#FFFFFF#000000##FFFFFF
##5B5D831.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526185
Deuteranopia (green-blind)
#505F82
Tritanopia (blue-blind)
#51646A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b5d83;
/* rgb */ color: rgb(91, 93, 131);
/* oklch */ color: oklch(49.2% 0.061 281.6);
Tailwind
colors: {
  custom: {
    50: '#8a8aa7',
    500: '#5b5d83',
    950: '#000000',
  },
}
SCSS
$custom: #5b5d83;
$custom-light: #8a8aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5d83",
  "rgb": {
    "r": 91,
    "g": 93,
    "b": 131
  },
  "hsl": {
    "h": 237,
    "s": 18.018,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49218,
    "c": 0.06064,
    "h": 281.6
  },
  "luminance": 0.11692
}

Semantic roles & 50–950 ramp

primary
#5B5D83
secondary
#A9A891
accent
#B76DBB
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0C0B0F
muted
#7D7C7F

Preview Lab

Preview with #5B5D83

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

Preview Lab → · Contrast checker → · Palette generator →

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