#5A6785#5A6785

#5A6785 is a mid, muted blue. Relative luminance 0.136; OKLCH L 51.5% C 0.050 H 266.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5A6785
RGBrgb(90, 103, 133)
HSLhsl(222, 19%, 44%)
HSVhsv(222, 32%, 52%)
CMYKcmyk(32.3%, 22.6%, 0%, 47.8%)
CIE-LABlab(43.61, 2.66, -18.22)
CIE-LCHlch(43.61, 18.41, 278.29°)
OKLaboklab(51.47% -0.0031 -0.0503)
OKLCHoklch(51.47% 0.05 266.4)
XYZxyz(13.2991, 13.5671, 24.1038)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6785 #85785A
analogous
#5A7C85 #5A6785 #625A85
triadic
#5A6785 #855A67 #67855A
tetradic
#5A6785 #855A7C #85785A #5A8562
square
#5A6785 #855A7C #85785A #5A8562
split-complementary
#5A6785 #85625A #7C855A
monochromatic
#292E3C #414B60 #5A6785 #7885A4 #9DA6BD

Accessibility & contrast

On white

5.65
#5A6785 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A6785
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6785#FFFFFF#000000##FFFFFF
##5A67851.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a6785;
/* rgb */ color: rgb(90, 103, 133);
/* oklch */ color: oklch(51.5% 0.050 266.4);
Tailwind
colors: {
  custom: {
    50: '#8a92a8',
    500: '#5a6785',
    950: '#000000',
  },
}
SCSS
$custom: #5a6785;
$custom-light: #8a92a8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6785",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 133
  },
  "hsl": {
    "h": 221.86,
    "s": 19.283,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51469,
    "c": 0.05036,
    "h": 266.4
  },
  "luminance": 0.13568
}

Semantic roles & 50–950 ramp

primary
#5A6785
secondary
#ABA390
accent
#A46CBC
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0C0D0F
muted
#7D7D7F

Preview Lab

Preview with #5A6785

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

Preview Lab → · Contrast checker → · Palette generator →

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