#5A627A#5A627A

#5A627A is a mid, muted blue. Relative luminance 0.123; OKLCH L 49.8% C 0.040 H 270.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5A627A
RGBrgb(90, 98, 122)
HSLhsl(225, 15%, 42%)
HSVhsv(225, 26%, 48%)
CMYKcmyk(26.2%, 19.7%, 0%, 52.2%)
CIE-LABlab(41.71, 2.75, -14.47)
CIE-LCHlch(41.71, 14.73, 280.75°)
OKLaboklab(49.84% 0.0004 -0.0397)
OKLCHoklch(49.84% 0.04 270.5)
XYZxyz(12.0961, 12.3138, 20.1481)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A627A #7A725A
analogous
#5A727A #5A627A #625A7A
triadic
#5A627A #7A5A62 #627A5A
tetradic
#5A627A #7A5A72 #7A725A #5A7A62
square
#5A627A #7A5A72 #7A725A #5A7A62
split-complementary
#5A627A #7A625A #727A5A
monochromatic
#262934 #404657 #5A627A #77809A #9AA1B4

Accessibility & contrast

On white

6.06
#5A627A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5A627A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A627A
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A627A#FFFFFF#000000##FFFFFF
##5A627A1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B647B
Deuteranopia (green-blind)
#586179
Tritanopia (blue-blind)
#52676A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a627a;
/* rgb */ color: rgb(90, 98, 122);
/* oklch */ color: oklch(49.8% 0.040 270.5);
Tailwind
colors: {
  custom: {
    50: '#898ea0',
    500: '#5a627a',
    950: '#000000',
  },
}
SCSS
$custom: #5a627a;
$custom-light: #898ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a627a",
  "rgb": {
    "r": 90,
    "g": 98,
    "b": 122
  },
  "hsl": {
    "h": 225,
    "s": 15.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49844,
    "c": 0.03966,
    "h": 270.5
  },
  "luminance": 0.12314
}

Semantic roles & 50–950 ramp

primary
#5A627A
secondary
#A39D8D
accent
#A670B8
background
#F8F8F9
surface
#F0F0F2
border
#CBCBCC
text
#0B0C0E
muted
#7C7D7E

Preview Lab

Preview with #5A627A

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

Preview Lab → · Contrast checker → · Palette generator →

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