#5A6474#5A6474

#5A6474 is a mid, muted blue. Relative luminance 0.125; OKLCH L 50.1% C 0.028 H 259.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5A6474
RGBrgb(90, 100, 116)
HSLhsl(217, 13%, 40%)
HSVhsv(217, 22%, 45%)
CMYKcmyk(22.4%, 13.8%, 0%, 54.5%)
CIE-LABlab(42.08, -0.01, -10.27)
CIE-LCHlch(42.08, 10.27, 269.92°)
OKLaboklab(50.06% -0.005 -0.028)
OKLCHoklch(50.06% 0.028 259.8)
XYZxyz(11.9252, 12.5487, 18.3134)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6474 #746A5A
analogous
#5A7174 #5A6474 #5D5A74
triadic
#5A6474 #745A64 #64745A
tetradic
#5A6474 #745A71 #746A5A #5A745D
square
#5A6474 #745A71 #746A5A #5A745D
split-complementary
#5A6474 #745D5A #71745A
monochromatic
#25292F #3F4652 #5A6474 #768295 #99A2B0

Accessibility & contrast

On white

5.98
#5A6474 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5A6474 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6474
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6474#FFFFFF#000000##FFFFFF
##5A64741.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6575
Deuteranopia (green-blind)
#5C6274
Tritanopia (blue-blind)
#536769
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5a6474;
/* rgb */ color: rgb(90, 100, 116);
/* oklch */ color: oklch(50.1% 0.028 259.8);
Tailwind
colors: {
  custom: {
    50: '#89909c',
    500: '#5a6474',
    950: '#000000',
  },
}
SCSS
$custom: #5a6474;
$custom-light: #89909c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6474",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 116
  },
  "hsl": {
    "h": 216.923,
    "s": 12.621,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50056,
    "c": 0.02841,
    "h": 259.8
  },
  "luminance": 0.12549
}

Semantic roles & 50–950 ramp

primary
#5A6474
secondary
#9E978C
accent
#9C72B5
background
#F8F8F9
surface
#F0F0F2
border
#CBCBCC
text
#0B0C0E
muted
#7C7D7E

Preview Lab

Preview with #5A6474

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

Preview Lab → · Contrast checker → · Palette generator →

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