#508BAF#508BAF

#508BAF is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 61.1% C 0.083 H 237.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#508BAF
RGBrgb(80, 139, 175)
HSLhsl(203, 37%, 50%)
HSVhsv(203, 54%, 69%)
CMYKcmyk(54.3%, 20.6%, 0%, 31.4%)
CIE-LABlab(55.34, -8.76, -24.83)
CIE-LCHlch(55.34, 26.32, 250.57°)
OKLaboklab(61.12% -0.0449 -0.0692)
OKLCHoklch(61.12% 0.083 237)
XYZxyz(20.2759, 23.2641, 43.9711)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508BAF #AF7450
analogous
#50AFA4 #508BAF #505BAF
triadic
#508BAF #AF508B #8BAF50
tetradic
#508BAF #A450AF #AF7450 #5BAF50
square
#508BAF #A450AF #AF7450 #5BAF50
split-complementary
#508BAF #AF505B #AFA450
monochromatic
#2A485B #3D6A85 #508BAF #7AA7C2 #A4C3D5

Accessibility & contrast

On white

3.71
#508BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#508BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508BAF
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508BAF#FFFFFF#000000##000000
##508BAF1.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8AB1
Deuteranopia (green-blind)
#6D80AE
Tritanopia (blue-blind)
#0E9497
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #508baf;
/* rgb */ color: rgb(80, 139, 175);
/* oklch */ color: oklch(61.1% 0.083 237.0);
Tailwind
colors: {
  custom: {
    50: '#88acc7',
    500: '#508baf',
    950: '#000000',
  },
}
SCSS
$custom: #508baf;
$custom-light: #88acc7;
$custom-dark: #000000;
JSON
{
  "hex": "#508baf",
  "rgb": {
    "r": 80,
    "g": 139,
    "b": 175
  },
  "hsl": {
    "h": 202.737,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.61123,
    "c": 0.08252,
    "h": 237
  },
  "luminance": 0.23266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #508BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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