#5A6472#5A6472

#5A6472 is a mid, muted blue. Relative luminance 0.125; OKLCH L 50.0% C 0.026 H 256.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5A6472
RGBrgb(90, 100, 114)
HSLhsl(215, 12%, 40%)
HSVhsv(215, 21%, 45%)
CMYKcmyk(21.1%, 12.3%, 0%, 55.3%)
CIE-LABlab(42.00, -0.51, -9.16)
CIE-LCHlch(42.00, 9.18, 266.78°)
OKLaboklab(49.98% -0.0058 -0.0249)
OKLCHoklch(49.98% 0.026 256.8)
XYZxyz(11.8101, 12.5026, 17.7073)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6472 #72685A
analogous
#5A7072 #5A6472 #5C5A72
triadic
#5A6472 #725A64 #64725A
tetradic
#5A6472 #725A70 #72685A #5A725C
square
#5A6472 #725A70 #72685A #5A725C
split-complementary
#5A6472 #725C5A #70725A
monochromatic
#24282E #3F4650 #5A6472 #768293 #98A1AE

Accessibility & contrast

On white

6.00
#5A6472 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5A6472 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6472
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6472#FFFFFF#000000##FFFFFF
##5A64721.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6473
Deuteranopia (green-blind)
#5D6272
Tritanopia (blue-blind)
#546768
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5a6472;
/* rgb */ color: rgb(90, 100, 114);
/* oklch */ color: oklch(50.0% 0.026 256.8);
Tailwind
colors: {
  custom: {
    50: '#89909a',
    500: '#5a6472',
    950: '#000000',
  },
}
SCSS
$custom: #5a6472;
$custom-light: #89909a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6472",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 114
  },
  "hsl": {
    "h": 215,
    "s": 11.765,
    "l": 40
  },
  "oklch": {
    "l": 0.49976,
    "c": 0.02557,
    "h": 256.8
  },
  "luminance": 0.12503
}

Semantic roles & 50–950 ramp

primary
#5A6472
secondary
#9D958B
accent
#9973B5
background
#F8F8F9
surface
#F0F0F2
border
#CBCBCC
text
#0B0C0E
muted
#7C7D7E

Preview Lab

Preview with #5A6472

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

Preview Lab → · Contrast checker → · Palette generator →

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