#5A6A84#5A6A84

#5A6A84 is a mid, muted blue. Relative luminance 0.141; OKLCH L 52.1% C 0.046 H 260.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5A6A84
RGBrgb(90, 106, 132)
HSLhsl(217, 19%, 44%)
HSVhsv(217, 32%, 52%)
CMYKcmyk(31.8%, 19.7%, 0%, 48.2%)
CIE-LABlab(44.44, 0.56, -16.34)
CIE-LCHlch(44.44, 16.35, 271.98°)
OKLaboklab(52.11% -0.0079 -0.045)
OKLCHoklch(52.11% 0.046 260)
XYZxyz(13.5341, 14.1472, 23.8429)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6A84 #84745A
analogous
#5A7F84 #5A6A84 #5F5A84
triadic
#5A6A84 #845A6A #6A845A
tetradic
#5A6A84 #845A7F #84745A #5A845F
square
#5A6A84 #845A7F #84745A #5A845F
split-complementary
#5A6A84 #845F5A #7F845A
monochromatic
#28303B #414D60 #5A6A84 #7888A3 #9DA8BC

Accessibility & contrast

On white

5.48
#5A6A84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5A6A84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6A84
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6A84#FFFFFF#000000##FFFFFF
##5A6A841.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616B85
Deuteranopia (green-blind)
#5D6783
Tritanopia (blue-blind)
#4E6F73
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5a6a84;
/* rgb */ color: rgb(90, 106, 132);
/* oklch */ color: oklch(52.1% 0.046 260.0);
Tailwind
colors: {
  custom: {
    50: '#8a94a7',
    500: '#5a6a84',
    950: '#000000',
  },
}
SCSS
$custom: #5a6a84;
$custom-light: #8a94a7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6a84",
  "rgb": {
    "r": 90,
    "g": 106,
    "b": 132
  },
  "hsl": {
    "h": 217.143,
    "s": 18.919,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52112,
    "c": 0.04565,
    "h": 260
  },
  "luminance": 0.14148
}

Semantic roles & 50–950 ramp

primary
#5A6A84
secondary
#AAA090
accent
#9D6CBC
background
#F8F9FA
surface
#F0F1F4
border
#CBCBCE
text
#0C0D0F
muted
#7D7E7F

Preview Lab

Preview with #5A6A84

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

Preview Lab → · Contrast checker → · Palette generator →

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