#5A809C#5A809C

#5A809C is a mid, moderate cyan. Relative luminance 0.200; OKLCH L 58.2% C 0.061 H 241.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5A809C
RGBrgb(90, 128, 156)
HSLhsl(205, 27%, 48%)
HSVhsv(205, 42%, 61%)
CMYKcmyk(42.3%, 17.9%, 0%, 38.8%)
CIE-LABlab(51.85, -5.67, -19.19)
CIE-LCHlch(51.85, 20.01, 253.53°)
OKLaboklab(58.25% -0.0294 -0.0531)
OKLCHoklch(58.25% 0.061 241)
XYZxyz(17.9344, 20.0112, 34.3636)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A809C #9C765A
analogous
#5A9C97 #5A809C #5A5F9C
triadic
#5A809C #9C5A80 #809C5A
tetradic
#5A809C #975A9C #9C765A #5F9C5A
square
#5A809C #975A9C #9C765A #5F9C5A
split-complementary
#5A809C #9C5A5F #9C975A
monochromatic
#2D404E #446075 #5A809C #7E9EB5 #A5BBCB

Accessibility & contrast

On white

4.20
#5A809C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5A809C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A809C
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A809C#FFFFFF#000000##000000
##5A809C1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#74809D
Deuteranopia (green-blind)
#6B799C
Tritanopia (blue-blind)
#418789
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a809c;
/* rgb */ color: rgb(90, 128, 156);
/* oklch */ color: oklch(58.2% 0.061 241.0);
Tailwind
colors: {
  custom: {
    50: '#8ba4b9',
    500: '#5a809c',
    950: '#000000',
  },
}
SCSS
$custom: #5a809c;
$custom-light: #8ba4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a809c",
  "rgb": {
    "r": 90,
    "g": 128,
    "b": 156
  },
  "hsl": {
    "h": 205.455,
    "s": 26.829,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58248,
    "c": 0.06067,
    "h": 241
  },
  "luminance": 0.20012
}

Semantic roles & 50–950 ramp

primary
#5A809C
secondary
#B9A699
accent
#8D65C3
background
#F8FAFB
surface
#F0F4F6
border
#CBCED0
text
#0C0F11
muted
#7D7F80

Preview Lab

Preview with #5A809C

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

Preview Lab → · Contrast checker → · Palette generator →

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