#5A6780#5A6780

#5A6780 is a mid, muted blue. Relative luminance 0.134; OKLCH L 51.2% C 0.043 H 263.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5A6780
RGBrgb(90, 103, 128)
HSLhsl(219, 17%, 43%)
HSVhsv(219, 30%, 50%)
CMYKcmyk(29.7%, 19.5%, 0%, 49.8%)
CIE-LABlab(43.41, 1.30, -15.51)
CIE-LCHlch(43.41, 15.57, 274.78°)
OKLaboklab(51.25% -0.005 -0.0426)
OKLCHoklch(51.25% 0.043 263.4)
XYZxyz(12.9619, 13.4322, 22.3276)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6780 #80735A
analogous
#5A7A80 #5A6780 #605A80
triadic
#5A6780 #805A67 #67805A
tetradic
#5A6780 #805A7A #80735A #5A8060
square
#5A6780 #805A7A #80735A #5A8060
split-complementary
#5A6780 #80605A #7A805A
monochromatic
#272D38 #414A5C #5A6780 #7785A0 #9BA6B9

Accessibility & contrast

On white

5.70
#5A6780 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5A6780 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6780
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6780#FFFFFF#000000##FFFFFF
##5A67801.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6881
Deuteranopia (green-blind)
#5B657F
Tritanopia (blue-blind)
#506C6F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a6780;
/* rgb */ color: rgb(90, 103, 128);
/* oklch */ color: oklch(51.2% 0.043 263.4);
Tailwind
colors: {
  custom: {
    50: '#8992a5',
    500: '#5a6780',
    950: '#000000',
  },
}
SCSS
$custom: #5a6780;
$custom-light: #8992a5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6780",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 128
  },
  "hsl": {
    "h": 219.474,
    "s": 17.431,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51249,
    "c": 0.04291,
    "h": 263.4
  },
  "luminance": 0.13433
}

Semantic roles & 50–950 ramp

primary
#5A6780
secondary
#A79F8F
accent
#A06EBA
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0B0D0F
muted
#7C7D7F

Preview Lab

Preview with #5A6780

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

Preview Lab → · Contrast checker → · Palette generator →

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