#508BA4#508BA4

#508BA4 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.6% C 0.072 H 227.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#508BA4
RGBrgb(80, 139, 164)
HSLhsl(198, 34%, 48%)
HSVhsv(198, 51%, 64%)
CMYKcmyk(51.2%, 15.2%, 0%, 35.7%)
CIE-LABlab(54.92, -12.10, -19.17)
CIE-LCHlch(54.92, 22.67, 237.74°)
OKLaboklab(60.64% -0.049 -0.0531)
OKLCHoklch(60.64% 0.072 227.3)
XYZxyz(19.2392, 22.8495, 38.5113)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508BA4 #A46950
analogous
#50A493 #508BA4 #5061A4
triadic
#508BA4 #A4508B #8BA450
tetradic
#508BA4 #9350A4 #A46950 #61A450
square
#508BA4 #9350A4 #A46950 #61A450
split-complementary
#508BA4 #A45061 #A49350
monochromatic
#284552 #3C687B #508BA4 #75A7BC #9EC1D0

Accessibility & contrast

On white

3.77
#508BA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#508BA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508BA4
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508BA4#FFFFFF#000000##000000
##508BA41.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E89A5
Deuteranopia (green-blind)
#727FA4
Tritanopia (blue-blind)
#209293
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #508ba4;
/* rgb */ color: rgb(80, 139, 164);
/* oklch */ color: oklch(60.6% 0.072 227.3);
Tailwind
colors: {
  custom: {
    50: '#87adbf',
    500: '#508ba4',
    950: '#000000',
  },
}
SCSS
$custom: #508ba4;
$custom-light: #87adbf;
$custom-dark: #000000;
JSON
{
  "hex": "#508ba4",
  "rgb": {
    "r": 80,
    "g": 139,
    "b": 164
  },
  "hsl": {
    "h": 197.857,
    "s": 34.426,
    "l": 47.843
  },
  "oklch": {
    "l": 0.60644,
    "c": 0.07231,
    "h": 227.3
  },
  "luminance": 0.22851
}

Semantic roles & 50–950 ramp

primary
#508BA4
secondary
#BD9F93
accent
#7E5DCB
background
#F8FAFB
surface
#F0F4F7
border
#CBCED0
text
#0C1012
muted
#7D7F81

Preview Lab

Preview with #508BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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