#508BAC#508BAC

#508BAC is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 61.0% C 0.080 H 234.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#508BAC
RGBrgb(80, 139, 172)
HSLhsl(202, 37%, 49%)
HSVhsv(202, 53%, 67%)
CMYKcmyk(53.5%, 19.2%, 0%, 32.5%)
CIE-LABlab(55.22, -9.68, -23.29)
CIE-LCHlch(55.22, 25.22, 247.43°)
OKLaboklab(60.99% -0.046 -0.0648)
OKLCHoklch(60.99% 0.08 234.6)
XYZxyz(19.9845, 23.1476, 42.4365)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508BAC #AC7150
analogous
#50AC9F #508BAC #505DAC
triadic
#508BAC #AC508B #8BAC50
tetradic
#508BAC #9F50AC #AC7150 #5DAC50
square
#508BAC #9F50AC #AC7150 #5DAC50
split-complementary
#508BAC #AC505D #AC9F50
monochromatic
#294758 #3D6982 #508BAC #79A7C1 #A2C2D4

Accessibility & contrast

On white

3.73
#508BAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#508BAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508BAC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508BAC#FFFFFF#000000##000000
##508BAC1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8AAE
Deuteranopia (green-blind)
#6F80AB
Tritanopia (blue-blind)
#149496
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #508bac;
/* rgb */ color: rgb(80, 139, 172);
/* oklch */ color: oklch(61.0% 0.080 234.6);
Tailwind
colors: {
  custom: {
    50: '#88acc4',
    500: '#508bac',
    950: '#000000',
  },
}
SCSS
$custom: #508bac;
$custom-light: #88acc4;
$custom-dark: #000000;
JSON
{
  "hex": "#508bac",
  "rgb": {
    "r": 80,
    "g": 139,
    "b": 172
  },
  "hsl": {
    "h": 201.522,
    "s": 36.508,
    "l": 49.412
  },
  "oklch": {
    "l": 0.60989,
    "c": 0.07951,
    "h": 234.6
  },
  "luminance": 0.23149
}

Semantic roles & 50–950 ramp

primary
#508BAC
secondary
#C1A697
accent
#845BCD
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1012
muted
#7D7F81

Preview Lab

Preview with #508BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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