#5A6A89#5A6A89

#5A6A89 is a mid, muted blue. Relative luminance 0.143; OKLCH L 52.3% C 0.053 H 263.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5A6A89
RGBrgb(90, 106, 137)
HSLhsl(220, 21%, 45%)
HSVhsv(220, 34%, 54%)
CMYKcmyk(34.3%, 22.6%, 0%, 46.3%)
CIE-LABlab(44.64, 1.94, -19.03)
CIE-LCHlch(44.64, 19.13, 275.83°)
OKLaboklab(52.33% -0.0061 -0.0526)
OKLCHoklch(52.33% 0.053 263.4)
XYZxyz(13.8845, 14.2873, 25.6882)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6A89 #89795A
analogous
#5A8289 #5A6A89 #615A89
triadic
#5A6A89 #895A6A #6A895A
tetradic
#5A6A89 #895A82 #89795A #5A8961
square
#5A6A89 #895A82 #89795A #5A8961
split-complementary
#5A6A89 #89615A #82895A
monochromatic
#29313F #424D64 #5A6A89 #7989A7 #9EA9BF

Accessibility & contrast

On white

5.44
#5A6A89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5A6A89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6A89
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6A89#FFFFFF#000000##FFFFFF
##5A6A891.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606C8A
Deuteranopia (green-blind)
#5B6888
Tritanopia (blue-blind)
#4C7074
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5a6a89;
/* rgb */ color: rgb(90, 106, 137);
/* oklch */ color: oklch(52.3% 0.053 263.4);
Tailwind
colors: {
  custom: {
    50: '#8a94ab',
    500: '#5a6a89',
    950: '#000000',
  },
}
SCSS
$custom: #5a6a89;
$custom-light: #8a94ab;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6a89",
  "rgb": {
    "r": 90,
    "g": 106,
    "b": 137
  },
  "hsl": {
    "h": 219.574,
    "s": 20.705,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52333,
    "c": 0.05291,
    "h": 263.4
  },
  "luminance": 0.14288
}

Semantic roles & 50–950 ramp

primary
#5A6A89
secondary
#ADA492
accent
#A16BBD
background
#F8F9FA
surface
#F0F1F4
border
#CBCBCE
text
#0C0D10
muted
#7D7E7F

Preview Lab

Preview with #5A6A89

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

Preview Lab → · Contrast checker → · Palette generator →

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