#508BA2#508BA2

#508BA2 is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.6% C 0.071 H 225.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#508BA2
RGBrgb(80, 139, 162)
HSLhsl(197, 34%, 47%)
HSVhsv(197, 51%, 64%)
CMYKcmyk(50.6%, 14.2%, 0%, 36.5%)
CIE-LABlab(54.84, -12.70, -18.13)
CIE-LCHlch(54.84, 22.14, 235.00°)
OKLaboklab(60.56% -0.0498 -0.0502)
OKLCHoklch(60.56% 0.071 225.2)
XYZxyz(19.0600, 22.7778, 37.5676)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508BA2 #A26750
analogous
#50A290 #508BA2 #5062A2
triadic
#508BA2 #A2508B #8BA250
tetradic
#508BA2 #9050A2 #A26750 #62A250
square
#508BA2 #9050A2 #A26750 #62A250
split-complementary
#508BA2 #A25062 #A29050
monochromatic
#284550 #3C6879 #508BA2 #75A7BB #9EC1CF

Accessibility & contrast

On white

3.78
#508BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#508BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508BA2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508BA2#FFFFFF#000000##000000
##508BA21.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E88A3
Deuteranopia (green-blind)
#727FA2
Tritanopia (blue-blind)
#229292
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #508ba2;
/* rgb */ color: rgb(80, 139, 162);
/* oklch */ color: oklch(60.6% 0.071 225.2);
Tailwind
colors: {
  custom: {
    50: '#87adbd',
    500: '#508ba2',
    950: '#000000',
  },
}
SCSS
$custom: #508ba2;
$custom-light: #87adbd;
$custom-dark: #000000;
JSON
{
  "hex": "#508ba2",
  "rgb": {
    "r": 80,
    "g": 139,
    "b": 162
  },
  "hsl": {
    "h": 196.829,
    "s": 33.884,
    "l": 47.451
  },
  "oklch": {
    "l": 0.6056,
    "c": 0.07073,
    "h": 225.2
  },
  "luminance": 0.22779
}

Semantic roles & 50–950 ramp

primary
#508BA2
secondary
#BC9E92
accent
#7C5ECA
background
#F8FAFB
surface
#F0F4F6
border
#CBCED0
text
#0C1012
muted
#7D7F81

Preview Lab

Preview with #508BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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