#508FAC#508FAC

#508FAC is a mid, moderate cyan. Relative luminance 0.243; OKLCH L 61.9% C 0.078 H 229.6°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#508FAC
RGBrgb(80, 143, 172)
HSLhsl(199, 37%, 49%)
HSVhsv(199, 53%, 67%)
CMYKcmyk(53.5%, 16.9%, 0%, 32.5%)
CIE-LABlab(56.41, -11.91, -21.46)
CIE-LCHlch(56.41, 24.55, 240.97°)
OKLaboklab(61.93% -0.0507 -0.0596)
OKLCHoklch(61.93% 0.078 229.6)
XYZxyz(20.5743, 24.3272, 42.6331)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508FAC #AC6D50
analogous
#50AC9B #508FAC #5061AC
triadic
#508FAC #AC508F #8FAC50
tetradic
#508FAC #9B50AC #AC6D50 #61AC50
square
#508FAC #9B50AC #AC6D50 #61AC50
split-complementary
#508FAC #AC5061 #AC9B50
monochromatic
#294A58 #3D6C82 #508FAC #79AAC1 #A2C4D4

Accessibility & contrast

On white

3.58
#508FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#508FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508FAC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508FAC#FFFFFF#000000##000000
##508FAC1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#808DAD
Deuteranopia (green-blind)
#7383AC
Tritanopia (blue-blind)
#129798
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #508fac;
/* rgb */ color: rgb(80, 143, 172);
/* oklch */ color: oklch(61.9% 0.078 229.6);
Tailwind
colors: {
  custom: {
    50: '#88afc4',
    500: '#508fac',
    950: '#000000',
  },
}
SCSS
$custom: #508fac;
$custom-light: #88afc4;
$custom-dark: #000000;
JSON
{
  "hex": "#508fac",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 172
  },
  "hsl": {
    "h": 198.913,
    "s": 36.508,
    "l": 49.412
  },
  "oklch": {
    "l": 0.61935,
    "c": 0.0783,
    "h": 229.6
  },
  "luminance": 0.24329
}

Semantic roles & 50–950 ramp

primary
#508FAC
secondary
#C1A497
accent
#7F5BCD
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1012
muted
#7D7F81

Preview Lab

Preview with #508FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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