#508FAB#508FAB

#508FAB is a mid, moderate cyan. Relative luminance 0.243; OKLCH L 61.9% C 0.077 H 228.7°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#508FAB
RGBrgb(80, 143, 171)
HSLhsl(198, 36%, 49%)
HSVhsv(198, 53%, 67%)
CMYKcmyk(53.2%, 16.4%, 0%, 32.9%)
CIE-LABlab(56.38, -12.22, -20.95)
CIE-LCHlch(56.38, 24.25, 239.76°)
OKLaboklab(61.89% -0.0511 -0.0582)
OKLCHoklch(61.89% 0.077 228.7)
XYZxyz(20.4787, 24.2889, 42.1292)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508FAB #AB6C50
analogous
#50AB9A #508FAB #5061AB
triadic
#508FAB #AB508F #8FAB50
tetradic
#508FAB #9A50AB #AB6C50 #61AB50
square
#508FAB #9A50AB #AB6C50 #61AB50
split-complementary
#508FAB #AB5061 #AB9A50
monochromatic
#294958 #3C6C81 #508FAB #78AAC0 #A2C4D3

Accessibility & contrast

On white

3.58
#508FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#508FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508FAB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508FAB#FFFFFF#000000##000000
##508FAB1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#818DAC
Deuteranopia (green-blind)
#7383AB
Tritanopia (blue-blind)
#149798
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #508fab;
/* rgb */ color: rgb(80, 143, 171);
/* oklch */ color: oklch(61.9% 0.077 228.7);
Tailwind
colors: {
  custom: {
    50: '#88afc4',
    500: '#508fab',
    950: '#000000',
  },
}
SCSS
$custom: #508fab;
$custom-light: #88afc4;
$custom-dark: #000000;
JSON
{
  "hex": "#508fab",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 171
  },
  "hsl": {
    "h": 198.462,
    "s": 36.255,
    "l": 49.216
  },
  "oklch": {
    "l": 0.61892,
    "c": 0.07745,
    "h": 228.7
  },
  "luminance": 0.24291
}

Semantic roles & 50–950 ramp

primary
#508FAB
secondary
#C1A396
accent
#7E5CCC
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1012
muted
#7D7F81

Preview Lab

Preview with #508FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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