#5A6789#5A6789

#5A6789 is a mid, muted blue. Relative luminance 0.137; OKLCH L 51.7% C 0.056 H 268.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5A6789
RGBrgb(90, 103, 137)
HSLhsl(223, 21%, 45%)
HSVhsv(223, 34%, 54%)
CMYKcmyk(34.3%, 24.8%, 0%, 46.3%)
CIE-LABlab(43.77, 3.77, -20.37)
CIE-LCHlch(43.77, 20.71, 280.47°)
OKLaboklab(51.65% -0.0018 -0.0564)
OKLCHoklch(51.65% 0.056 268.2)
XYZxyz(13.5807, 13.6798, 25.5870)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6789 #897C5A
analogous
#5A7F89 #5A6789 #655A89
triadic
#5A6789 #895A67 #67895A
tetradic
#5A6789 #895A7F #897C5A #5A8965
square
#5A6789 #895A7F #897C5A #5A8965
split-complementary
#5A6789 #89655A #7F895A
monochromatic
#292F3F #424B64 #5A6789 #7986A7 #9EA7BF

Accessibility & contrast

On white

5.62
#5A6789 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5A6789 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6789
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6789#FFFFFF#000000##FFFFFF
##5A67891.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A8B
Deuteranopia (green-blind)
#586688
Tritanopia (blue-blind)
#4C6E73
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a6789;
/* rgb */ color: rgb(90, 103, 137);
/* oklch */ color: oklch(51.7% 0.056 268.2);
Tailwind
colors: {
  custom: {
    50: '#8a92ab',
    500: '#5a6789',
    950: '#000000',
  },
}
SCSS
$custom: #5a6789;
$custom-light: #8a92ab;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6789",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 137
  },
  "hsl": {
    "h": 223.404,
    "s": 20.705,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51652,
    "c": 0.0564,
    "h": 268.2
  },
  "luminance": 0.1368
}

Semantic roles & 50–950 ramp

primary
#5A6789
secondary
#ADA692
accent
#A66BBD
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0C0D10
muted
#7D7D7F

Preview Lab

Preview with #5A6789

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

Preview Lab → · Contrast checker → · Palette generator →

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