#5A607C#5A607C

#5A607C is a mid, muted blue. Relative luminance 0.120; OKLCH L 49.5% C 0.045 H 275.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5A607C
RGBrgb(90, 96, 124)
HSLhsl(229, 16%, 42%)
HSVhsv(229, 27%, 49%)
CMYKcmyk(27.4%, 22.6%, 0%, 51.4%)
CIE-LABlab(41.21, 4.50, -16.45)
CIE-LCHlch(41.21, 17.06, 285.31°)
OKLaboklab(49.48% 0.0041 -0.0452)
OKLCHoklch(49.48% 0.045 275.2)
XYZxyz(12.0364, 11.9943, 20.7458)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A607C #7C765A
analogous
#5A717C #5A607C #655A7C
triadic
#5A607C #7C5A60 #607C5A
tetradic
#5A607C #7C5A71 #7C765A #5A7C65
square
#5A607C #7C5A71 #7C765A #5A7C65
split-complementary
#5A607C #7C655A #717C5A
monochromatic
#272935 #404559 #5A607C #777E9C #9A9FB6

Accessibility & contrast

On white

6.18
#5A607C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5A607C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A607C
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A607C#FFFFFF#000000##FFFFFF
##5A607C1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58637D
Deuteranopia (green-blind)
#56607B
Tritanopia (blue-blind)
#526569
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a607c;
/* rgb */ color: rgb(90, 96, 124);
/* oklch */ color: oklch(49.5% 0.045 275.2);
Tailwind
colors: {
  custom: {
    50: '#898da2',
    500: '#5a607c',
    950: '#000000',
  },
}
SCSS
$custom: #5a607c;
$custom-light: #898da2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a607c",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 124
  },
  "hsl": {
    "h": 229.412,
    "s": 15.888,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49478,
    "c": 0.04543,
    "h": 275.2
  },
  "luminance": 0.11995
}

Semantic roles & 50–950 ramp

primary
#5A607C
secondary
#A4A08E
accent
#AC6FB9
background
#F8F8F9
surface
#F0F0F2
border
#CBCBCC
text
#0B0C0F
muted
#7C7D7E

Preview Lab

Preview with #5A607C

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

Preview Lab → · Contrast checker → · Palette generator →

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