#5A6783#5A6783

#5A6783 is a mid, muted blue. Relative luminance 0.135; OKLCH L 51.4% C 0.047 H 265.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5A6783
RGBrgb(90, 103, 131)
HSLhsl(221, 19%, 43%)
HSVhsv(221, 31%, 51%)
CMYKcmyk(31.3%, 21.4%, 0%, 48.6%)
CIE-LABlab(43.53, 2.11, -17.14)
CIE-LCHlch(43.53, 17.27, 277.01°)
OKLaboklab(51.38% -0.0039 -0.0472)
OKLCHoklch(51.38% 0.047 265.3)
XYZxyz(13.1623, 13.5124, 23.3830)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6783 #83765A
analogous
#5A7B83 #5A6783 #615A83
triadic
#5A6783 #835A67 #67835A
tetradic
#5A6783 #835A7B #83765A #5A8361
square
#5A6783 #835A7B #83765A #5A8361
split-complementary
#5A6783 #83615A #7B835A
monochromatic
#282E3A #414A5F #5A6783 #7885A2 #9CA6BB

Accessibility & contrast

On white

5.67
#5A6783 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A6783
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6783#FFFFFF#000000##FFFFFF
##5A67831.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6984
Deuteranopia (green-blind)
#5A6582
Tritanopia (blue-blind)
#4F6D70
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a6783;
/* rgb */ color: rgb(90, 103, 131);
/* oklch */ color: oklch(51.4% 0.047 265.3);
Tailwind
colors: {
  custom: {
    50: '#8992a7',
    500: '#5a6783',
    950: '#000000',
  },
}
SCSS
$custom: #5a6783;
$custom-light: #8992a7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6783",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 131
  },
  "hsl": {
    "h": 220.976,
    "s": 18.552,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5138,
    "c": 0.04737,
    "h": 265.3
  },
  "luminance": 0.13513
}

Semantic roles & 50–950 ramp

primary
#5A6783
secondary
#A9A190
accent
#A26DBB
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0C0D0F
muted
#7D7D7F

Preview Lab

Preview with #5A6783

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

Preview Lab → · Contrast checker → · Palette generator →

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