#5A6786#5A6786

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

Color values

HEX#5A6786
RGBrgb(90, 103, 134)
HSLhsl(222, 20%, 44%)
HSVhsv(222, 33%, 53%)
CMYKcmyk(32.8%, 23.1%, 0%, 47.5%)
CIE-LABlab(43.65, 2.93, -18.76)
CIE-LCHlch(43.65, 18.98, 278.88°)
OKLaboklab(51.51% -0.0028 -0.0518)
OKLCHoklch(51.51% 0.052 266.9)
XYZxyz(13.3685, 13.5949, 24.4693)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6786 #86795A
analogous
#5A7D86 #5A6786 #635A86
triadic
#5A6786 #865A67 #67865A
tetradic
#5A6786 #865A7D #86795A #5A8663
square
#5A6786 #865A7D #86795A #5A8663
split-complementary
#5A6786 #86635A #7D865A
monochromatic
#292F3D #414B61 #5A6786 #7986A5 #9DA7BD

Accessibility & contrast

On white

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

On black

3.72
#5A6786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5A6786#FFFFFF#000000##FFFFFF
##5A67861.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6987
Deuteranopia (green-blind)
#596585
Tritanopia (blue-blind)
#4E6D72
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a6786;
/* rgb */ color: rgb(90, 103, 134);
/* oklch */ color: oklch(51.5% 0.052 266.9);
Tailwind
colors: {
  custom: {
    50: '#8a92a9',
    500: '#5a6786',
    950: '#000000',
  },
}
SCSS
$custom: #5a6786;
$custom-light: #8a92a9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6786",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 134
  },
  "hsl": {
    "h": 222.273,
    "s": 19.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51514,
    "c": 0.05187,
    "h": 266.9
  },
  "luminance": 0.13595
}

Semantic roles & 50–950 ramp

primary
#5A6786
secondary
#ABA391
accent
#A46CBC
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0C0D10
muted
#7D7D7F

Preview Lab

Preview with #5A6786

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

Preview Lab → · Contrast checker → · Palette generator →

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