#508AAF#508AAF

#508AAF is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 60.9% C 0.083 H 238.2°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#508AAF
RGBrgb(80, 138, 175)
HSLhsl(203, 37%, 50%)
HSVhsv(203, 54%, 69%)
CMYKcmyk(54.3%, 21.1%, 0%, 31.4%)
CIE-LABlab(55.05, -8.19, -25.28)
CIE-LCHlch(55.05, 26.58, 252.05°)
OKLaboklab(60.89% -0.0437 -0.0705)
OKLCHoklch(60.89% 0.083 238.2)
XYZxyz(20.1318, 22.9759, 43.9230)
Luminance0.2298 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508AAF #AF7550
analogous
#50AFA4 #508AAF #505BAF
triadic
#508AAF #AF508A #8AAF50
tetradic
#508AAF #A450AF #AF7550 #5BAF50
square
#508AAF #A450AF #AF7550 #5BAF50
split-complementary
#508AAF #AF505B #AFA450
monochromatic
#2A485B #3D6985 #508AAF #7AA6C2 #A4C2D5

Accessibility & contrast

On white

3.75
#508AAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#508AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508AAF
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508AAF#FFFFFF#000000##000000
##508AAF1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7989B1
Deuteranopia (green-blind)
#6C7FAE
Tritanopia (blue-blind)
#0E9396
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #508aaf;
/* rgb */ color: rgb(80, 138, 175);
/* oklch */ color: oklch(60.9% 0.083 238.2);
Tailwind
colors: {
  custom: {
    50: '#88acc7',
    500: '#508aaf',
    950: '#000000',
  },
}
SCSS
$custom: #508aaf;
$custom-light: #88acc7;
$custom-dark: #000000;
JSON
{
  "hex": "#508aaf",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 175
  },
  "hsl": {
    "h": 203.368,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.60889,
    "c": 0.08299,
    "h": 238.2
  },
  "luminance": 0.22978
}

Semantic roles & 50–950 ramp

primary
#508AAF
secondary
#C3A998
accent
#875BCD
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #508AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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