#5A6782#5A6782

#5A6782 is a mid, muted blue. Relative luminance 0.135; OKLCH L 51.3% C 0.046 H 264.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5A6782
RGBrgb(90, 103, 130)
HSLhsl(221, 18%, 43%)
HSVhsv(221, 31%, 51%)
CMYKcmyk(30.8%, 20.8%, 0%, 49%)
CIE-LABlab(43.49, 1.84, -16.60)
CIE-LCHlch(43.49, 16.70, 276.31°)
OKLaboklab(51.34% -0.0042 -0.0457)
OKLCHoklch(51.34% 0.046 264.7)
XYZxyz(13.0948, 13.4854, 23.0278)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6782 #82755A
analogous
#5A7B82 #5A6782 #615A82
triadic
#5A6782 #825A67 #67825A
tetradic
#5A6782 #825A7B #82755A #5A8261
square
#5A6782 #825A7B #82755A #5A8261
split-complementary
#5A6782 #82615A #7B825A
monochromatic
#282E3A #414A5E #5A6782 #7885A1 #9CA6BA

Accessibility & contrast

On white

5.68
#5A6782 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5A6782 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6782
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6782#FFFFFF#000000##FFFFFF
##5A67821.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6983
Deuteranopia (green-blind)
#5A6581
Tritanopia (blue-blind)
#4F6C70
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a6782;
/* rgb */ color: rgb(90, 103, 130);
/* oklch */ color: oklch(51.3% 0.046 264.7);
Tailwind
colors: {
  custom: {
    50: '#8992a6',
    500: '#5a6782',
    950: '#000000',
  },
}
SCSS
$custom: #5a6782;
$custom-light: #8992a6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6782",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 130
  },
  "hsl": {
    "h": 220.5,
    "s": 18.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51336,
    "c": 0.04587,
    "h": 264.7
  },
  "luminance": 0.13486
}

Semantic roles & 50–950 ramp

primary
#5A6782
secondary
#A9A08F
accent
#A26DBB
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0B0D0F
muted
#7C7D7F

Preview Lab

Preview with #5A6782

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

Preview Lab → · Contrast checker → · Palette generator →

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