#508CAF#508CAF

#508CAF is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.4% C 0.082 H 235.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#508CAF
RGBrgb(80, 140, 175)
HSLhsl(202, 37%, 50%)
HSVhsv(202, 54%, 69%)
CMYKcmyk(54.3%, 20%, 0%, 31.4%)
CIE-LABlab(55.64, -9.32, -24.37)
CIE-LCHlch(55.64, 26.09, 249.07°)
OKLaboklab(61.36% -0.0461 -0.0679)
OKLCHoklch(61.36% 0.082 235.8)
XYZxyz(20.4214, 23.5550, 44.0195)
Luminance0.2356 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508CAF #AF7350
analogous
#50AFA2 #508CAF #505DAF
triadic
#508CAF #AF508C #8CAF50
tetradic
#508CAF #A250AF #AF7350 #5DAF50
square
#508CAF #A250AF #AF7350 #5DAF50
split-complementary
#508CAF #AF505D #AFA250
monochromatic
#2A495B #3D6A85 #508CAF #7AA8C2 #A4C3D5

Accessibility & contrast

On white

3.68
#508CAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#508CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508CAF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508CAF#FFFFFF#000000##000000
##508CAF1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8BB1
Deuteranopia (green-blind)
#6F81AE
Tritanopia (blue-blind)
#0D9598
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #508caf;
/* rgb */ color: rgb(80, 140, 175);
/* oklch */ color: oklch(61.4% 0.082 235.8);
Tailwind
colors: {
  custom: {
    50: '#88adc7',
    500: '#508caf',
    950: '#000000',
  },
}
SCSS
$custom: #508caf;
$custom-light: #88adc7;
$custom-dark: #000000;
JSON
{
  "hex": "#508caf",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 175
  },
  "hsl": {
    "h": 202.105,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.61358,
    "c": 0.08208,
    "h": 235.8
  },
  "luminance": 0.23557
}

Semantic roles & 50–950 ramp

primary
#508CAF
secondary
#C3A898
accent
#855BCD
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #508CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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