#5A6781#5A6781

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

Color values

HEX#5A6781
RGBrgb(90, 103, 129)
HSLhsl(220, 18%, 43%)
HSVhsv(220, 30%, 51%)
CMYKcmyk(30.2%, 20.2%, 0%, 49.4%)
CIE-LABlab(43.45, 1.57, -16.06)
CIE-LCHlch(43.45, 16.13, 275.57°)
OKLaboklab(51.29% -0.0046 -0.0441)
OKLCHoklch(51.29% 0.044 264.1)
XYZxyz(13.0280, 13.4587, 22.6760)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6781 #81745A
analogous
#5A7A81 #5A6781 #605A81
triadic
#5A6781 #815A67 #67815A
tetradic
#5A6781 #815A7A #81745A #5A8160
square
#5A6781 #815A7A #81745A #5A8160
split-complementary
#5A6781 #81605A #7A815A
monochromatic
#282D39 #414A5D #5A6781 #7885A1 #9CA6BA

Accessibility & contrast

On white

5.69
#5A6781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A6781
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6781#FFFFFF#000000##FFFFFF
##5A67811.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a6781;
/* rgb */ color: rgb(90, 103, 129);
/* oklch */ color: oklch(51.3% 0.044 264.1);
Tailwind
colors: {
  custom: {
    50: '#8992a5',
    500: '#5a6781',
    950: '#000000',
  },
}
SCSS
$custom: #5a6781;
$custom-light: #8992a5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6781",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 129
  },
  "hsl": {
    "h": 220,
    "s": 17.808,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51292,
    "c": 0.04439,
    "h": 264.1
  },
  "luminance": 0.13459
}

Semantic roles & 50–950 ramp

primary
#5A6781
secondary
#A8A08F
accent
#A16DBA
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0B0D0F
muted
#7C7D7F

Preview Lab

Preview with #5A6781

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

Preview Lab → · Contrast checker → · Palette generator →

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