#5D5B82#5D5B82

#5D5B82 is a mid, moderate blue. Relative luminance 0.114; OKLCH L 48.9% C 0.062 H 286.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5D5B82
RGBrgb(93, 91, 130)
HSLhsl(243, 18%, 43%)
HSVhsv(243, 30%, 51%)
CMYKcmyk(28.5%, 30%, 0%, 49%)
CIE-LABlab(40.28, 10.21, -21.51)
CIE-LCHlch(40.28, 23.81, 295.38°)
OKLaboklab(48.9% 0.0173 -0.0595)
OKLCHoklch(48.9% 0.062 286.2)
XYZxyz(12.2835, 11.4208, 22.6720)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5B82 #80825B
analogous
#5B6C82 #5D5B82 #705B82
triadic
#5D5B82 #825D5B #5B825D
tetradic
#5D5B82 #825B6C #80825B #5B8270
square
#5D5B82 #825B6C #80825B #5B8270
split-complementary
#5D5B82 #82705B #6C825B
monochromatic
#29293A #43425E #5D5B82 #7B79A1 #9F9DBA

Accessibility & contrast

On white

6.39
#5D5B82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5D5B82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5B82
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5B82#FFFFFF#000000##FFFFFF
##5D5B821.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506084
Deuteranopia (green-blind)
#505E81
Tritanopia (blue-blind)
#546269
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d5b82;
/* rgb */ color: rgb(93, 91, 130);
/* oklch */ color: oklch(48.9% 0.062 286.2);
Tailwind
colors: {
  custom: {
    50: '#8c89a6',
    500: '#5d5b82',
    950: '#000000',
  },
}
SCSS
$custom: #5d5b82;
$custom-light: #8c89a6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5b82",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 130
  },
  "hsl": {
    "h": 243.077,
    "s": 17.647,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48904,
    "c": 0.062,
    "h": 286.2
  },
  "luminance": 0.11421
}

Semantic roles & 50–950 ramp

primary
#5D5B82
secondary
#A7A990
accent
#BA6DB6
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0C0B0F
muted
#7D7C7F

Preview Lab

Preview with #5D5B82

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

Preview Lab → · Contrast checker → · Palette generator →

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