#5A6784#5A6784

#5A6784 is a mid, muted blue. Relative luminance 0.135; OKLCH L 51.4% C 0.049 H 265.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5A6784
RGBrgb(90, 103, 132)
HSLhsl(221, 19%, 44%)
HSVhsv(221, 32%, 52%)
CMYKcmyk(31.8%, 22%, 0%, 48.2%)
CIE-LABlab(43.57, 2.38, -17.68)
CIE-LCHlch(43.57, 17.84, 277.67°)
OKLaboklab(51.42% -0.0035 -0.0487)
OKLCHoklch(51.42% 0.049 265.9)
XYZxyz(13.2304, 13.5396, 23.7416)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6784 #84775A
analogous
#5A7C84 #5A6784 #625A84
triadic
#5A6784 #845A67 #67845A
tetradic
#5A6784 #845A7C #84775A #5A8462
square
#5A6784 #845A7C #84775A #5A8462
split-complementary
#5A6784 #84625A #7C845A
monochromatic
#282E3B #414B60 #5A6784 #7885A3 #9DA6BC

Accessibility & contrast

On white

5.66
#5A6784 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5A6784 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6784
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6784#FFFFFF#000000##FFFFFF
##5A67841.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6985
Deuteranopia (green-blind)
#5A6583
Tritanopia (blue-blind)
#4E6D71
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a6784;
/* rgb */ color: rgb(90, 103, 132);
/* oklch */ color: oklch(51.4% 0.049 265.9);
Tailwind
colors: {
  custom: {
    50: '#8a92a7',
    500: '#5a6784',
    950: '#000000',
  },
}
SCSS
$custom: #5a6784;
$custom-light: #8a92a7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6784",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 132
  },
  "hsl": {
    "h": 221.429,
    "s": 18.919,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51424,
    "c": 0.04887,
    "h": 265.9
  },
  "luminance": 0.1354
}

Semantic roles & 50–950 ramp

primary
#5A6784
secondary
#AAA290
accent
#A36CBC
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0C0D0F
muted
#7D7D7F

Preview Lab

Preview with #5A6784

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

Preview Lab → · Contrast checker → · Palette generator →

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