#508AC5#508AC5

#508AC5 is a mid, moderate cyan. Relative luminance 0.239; OKLCH L 62.0% C 0.109 H 250.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#508AC5
RGBrgb(80, 138, 197)
HSLhsl(210, 50%, 54%)
HSVhsv(210, 59%, 77%)
CMYKcmyk(59.4%, 29.9%, 0%, 22.7%)
CIE-LABlab(56.00, -1.17, -36.34)
CIE-LCHlch(56.00, 36.35, 268.16°)
OKLaboklab(61.95% -0.0366 -0.1024)
OKLCHoklch(61.95% 0.109 250.3)
XYZxyz(22.4711, 23.9116, 56.2437)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508AC5 #C58B50
analogous
#50C5C5 #508AC5 #5050C5
triadic
#508AC5 #C5508A #8AC550
tetradic
#508AC5 #C550C5 #C58B50 #50C550
square
#508AC5 #C550C5 #C58B50 #50C550
split-complementary
#508AC5 #C55050 #C5C550
monochromatic
#264D74 #366BA2 #508AC5 #7EA9D4 #ACC7E3

Accessibility & contrast

On white

3.63
#508AC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#508AC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508AC5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508AC5#FFFFFF#000000##000000
##508AC51.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#718DC8
Deuteranopia (green-blind)
#6281C4
Tritanopia (blue-blind)
#00989F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #508ac5;
/* rgb */ color: rgb(80, 138, 197);
/* oklch */ color: oklch(62.0% 0.109 250.3);
Tailwind
colors: {
  custom: {
    50: '#8aabd7',
    500: '#508ac5',
    950: '#000000',
  },
}
SCSS
$custom: #508ac5;
$custom-light: #8aabd7;
$custom-dark: #000000;
JSON
{
  "hex": "#508ac5",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 197
  },
  "hsl": {
    "h": 210.256,
    "s": 50.215,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61953,
    "c": 0.10871,
    "h": 250.3
  },
  "luminance": 0.23914
}

Semantic roles & 50–950 ramp

primary
#508AC5
secondary
#D1B9A0
accent
#944EDA
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0D1014
muted
#7D7F83

Preview Lab

Preview with #508AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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