#5A647E#5A647E

#5A647E is a mid, muted blue. Relative luminance 0.128; OKLCH L 50.5% C 0.043 H 268.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5A647E
RGBrgb(90, 100, 126)
HSLhsl(223, 17%, 42%)
HSVhsv(223, 29%, 49%)
CMYKcmyk(28.6%, 20.6%, 0%, 50.6%)
CIE-LABlab(42.45, 2.59, -15.76)
CIE-LCHlch(42.45, 15.97, 279.31°)
OKLaboklab(50.48% -0.0012 -0.0433)
OKLCHoklch(50.48% 0.043 268.4)
XYZxyz(12.5385, 12.7940, 21.5435)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A647E #7E745A
analogous
#5A767E #5A647E #625A7E
triadic
#5A647E #7E5A64 #647E5A
tetradic
#5A647E #7E5A76 #7E745A #5A7E62
square
#5A647E #7E5A76 #7E745A #5A7E62
split-complementary
#5A647E #7E625A #767E5A
monochromatic
#272B37 #40485A #5A647E #77829E #9BA3B8

Accessibility & contrast

On white

5.90
#5A647E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5A647E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A647E
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A647E#FFFFFF#000000##FFFFFF
##5A647E1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C667F
Deuteranopia (green-blind)
#59637D
Tritanopia (blue-blind)
#51696D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5a647e;
/* rgb */ color: rgb(90, 100, 126);
/* oklch */ color: oklch(50.5% 0.043 268.4);
Tailwind
colors: {
  custom: {
    50: '#8990a3',
    500: '#5a647e',
    950: '#000000',
  },
}
SCSS
$custom: #5a647e;
$custom-light: #8990a3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a647e",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 126
  },
  "hsl": {
    "h": 223.333,
    "s": 16.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50475,
    "c": 0.04333,
    "h": 268.4
  },
  "luminance": 0.12794
}

Semantic roles & 50–950 ramp

primary
#5A647E
secondary
#A69F8E
accent
#A56EB9
background
#F8F8FA
surface
#F0F0F3
border
#CBCBCD
text
#0B0C0F
muted
#7C7D7F

Preview Lab

Preview with #5A647E

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

Preview Lab → · Contrast checker → · Palette generator →

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