#5A6788#5A6788

#5A6788 is a mid, muted blue. Relative luminance 0.137; OKLCH L 51.6% C 0.055 H 267.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5A6788
RGBrgb(90, 103, 136)
HSLhsl(223, 20%, 44%)
HSVhsv(223, 34%, 53%)
CMYKcmyk(33.8%, 24.3%, 0%, 46.7%)
CIE-LABlab(43.73, 3.49, -19.83)
CIE-LCHlch(43.73, 20.14, 279.97°)
OKLaboklab(51.61% -0.0021 -0.0548)
OKLCHoklch(51.61% 0.055 267.8)
XYZxyz(13.5093, 13.6512, 25.2109)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6788 #887B5A
analogous
#5A7E88 #5A6788 #645A88
triadic
#5A6788 #885A67 #67885A
tetradic
#5A6788 #885A7E #887B5A #5A8864
square
#5A6788 #885A7E #887B5A #5A8864
split-complementary
#5A6788 #88645A #7E885A
monochromatic
#292F3E #424B63 #5A6788 #7986A6 #9EA7BF

Accessibility & contrast

On white

5.63
#5A6788 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5A6788 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6788
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6788#FFFFFF#000000##FFFFFF
##5A67881.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A89
Deuteranopia (green-blind)
#586687
Tritanopia (blue-blind)
#4D6E72
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a6788;
/* rgb */ color: rgb(90, 103, 136);
/* oklch */ color: oklch(51.6% 0.055 267.8);
Tailwind
colors: {
  custom: {
    50: '#8a92aa',
    500: '#5a6788',
    950: '#000000',
  },
}
SCSS
$custom: #5a6788;
$custom-light: #8a92aa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6788",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 136
  },
  "hsl": {
    "h": 223.043,
    "s": 20.354,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51606,
    "c": 0.05488,
    "h": 267.8
  },
  "luminance": 0.13652
}

Semantic roles & 50–950 ramp

primary
#5A6788
secondary
#ADA591
accent
#A66BBD
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0C0D10
muted
#7D7D7F

Preview Lab

Preview with #5A6788

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

Preview Lab → · Contrast checker → · Palette generator →

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