#508AAB#508AAB

#508AAB is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.7% C 0.079 H 235.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#508AAB
RGBrgb(80, 138, 171)
HSLhsl(202, 36%, 49%)
HSVhsv(202, 53%, 67%)
CMYKcmyk(53.2%, 19.3%, 0%, 32.9%)
CIE-LABlab(54.89, -9.43, -23.23)
CIE-LCHlch(54.89, 25.07, 247.92°)
OKLaboklab(60.71% -0.0452 -0.0647)
OKLCHoklch(60.71% 0.079 235.1)
XYZxyz(19.7447, 22.8211, 41.8846)
Luminance0.2282 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508AAB #AB7150
analogous
#50AB9F #508AAB #505DAB
triadic
#508AAB #AB508A #8AAB50
tetradic
#508AAB #9F50AB #AB7150 #5DAB50
square
#508AAB #9F50AB #AB7150 #5DAB50
split-complementary
#508AAB #AB505D #AB9F50
monochromatic
#294758 #3C6881 #508AAB #78A6C0 #A2C2D3

Accessibility & contrast

On white

3.77
#508AAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#508AAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508AAB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508AAB#FFFFFF#000000##000000
##508AAB1.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A89AD
Deuteranopia (green-blind)
#6E7FAA
Tritanopia (blue-blind)
#179395
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #508aab;
/* rgb */ color: rgb(80, 138, 171);
/* oklch */ color: oklch(60.7% 0.079 235.1);
Tailwind
colors: {
  custom: {
    50: '#87acc4',
    500: '#508aab',
    950: '#000000',
  },
}
SCSS
$custom: #508aab;
$custom-light: #87acc4;
$custom-dark: #000000;
JSON
{
  "hex": "#508aab",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 171
  },
  "hsl": {
    "h": 201.758,
    "s": 36.255,
    "l": 49.216
  },
  "oklch": {
    "l": 0.60709,
    "c": 0.07891,
    "h": 235.1
  },
  "luminance": 0.22823
}

Semantic roles & 50–950 ramp

primary
#508AAB
secondary
#C1A696
accent
#845CCC
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1012
muted
#7D7F81

Preview Lab

Preview with #508AAB

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

Preview Lab → · Contrast checker → · Palette generator →

#508AAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva