#5A809F#5A809F

#5A809F is a mid, moderate cyan. Relative luminance 0.201; OKLCH L 58.4% C 0.064 H 243.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5A809F
RGBrgb(90, 128, 159)
HSLhsl(207, 28%, 49%)
HSVhsv(207, 43%, 62%)
CMYKcmyk(43.4%, 19.5%, 0%, 37.6%)
CIE-LABlab(51.97, -4.81, -20.75)
CIE-LCHlch(51.97, 21.30, 256.95°)
OKLaboklab(58.38% -0.0283 -0.0575)
OKLCHoklch(58.38% 0.064 243.8)
XYZxyz(18.1915, 20.1141, 35.7180)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A809F #9F795A
analogous
#5A9F9C #5A809F #5A5E9F
triadic
#5A809F #9F5A80 #809F5A
tetradic
#5A809F #9C5A9F #9F795A #5E9F5A
square
#5A809F #9C5A9F #9F795A #5E9F5A
split-complementary
#5A809F #9F5A5E #9F9C5A
monochromatic
#2E4151 #446178 #5A809F #7F9EB7 #A6BCCD

Accessibility & contrast

On white

4.18
#5A809F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5A809F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A809F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A809F#FFFFFF#000000##000000
##5A809F1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7380A0
Deuteranopia (green-blind)
#6A799E
Tritanopia (blue-blind)
#3F878A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a809f;
/* rgb */ color: rgb(90, 128, 159);
/* oklch */ color: oklch(58.4% 0.064 243.8);
Tailwind
colors: {
  custom: {
    50: '#8ca4bb',
    500: '#5a809f',
    950: '#000000',
  },
}
SCSS
$custom: #5a809f;
$custom-light: #8ca4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a809f",
  "rgb": {
    "r": 90,
    "g": 128,
    "b": 159
  },
  "hsl": {
    "h": 206.957,
    "s": 27.711,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58378,
    "c": 0.0641,
    "h": 243.8
  },
  "luminance": 0.20115
}

Semantic roles & 50–950 ramp

primary
#5A809F
secondary
#BBA99A
accent
#8F64C4
background
#F8FAFB
surface
#F0F4F6
border
#CBCED0
text
#0C0F11
muted
#7D7F80

Preview Lab

Preview with #5A809F

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

Preview Lab → · Contrast checker → · Palette generator →

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