#508AC4#508AC4

#508AC4 is a mid, moderate cyan. Relative luminance 0.239; OKLCH L 61.9% C 0.107 H 249.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#508AC4
RGBrgb(80, 138, 196)
HSLhsl(210, 50%, 54%)
HSVhsv(210, 59%, 77%)
CMYKcmyk(59.2%, 29.6%, 0%, 23.1%)
CIE-LABlab(55.95, -1.50, -35.84)
CIE-LCHlch(55.95, 35.87, 267.61°)
OKLaboklab(61.9% -0.0369 -0.1009)
OKLCHoklch(61.9% 0.107 249.9)
XYZxyz(22.3569, 23.8659, 55.6423)
Luminance0.2387 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508AC4 #C48A50
analogous
#50C4C4 #508AC4 #5050C4
triadic
#508AC4 #C4508A #8AC450
tetradic
#508AC4 #C450C4 #C48A50 #50C450
square
#508AC4 #C450C4 #C48A50 #50C450
split-complementary
#508AC4 #C45050 #C4C450
monochromatic
#274D73 #366BA1 #508AC4 #7EA9D3 #ACC7E3

Accessibility & contrast

On white

3.64
#508AC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#508AC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508AC4
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508AC4#FFFFFF#000000##000000
##508AC41.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#718CC7
Deuteranopia (green-blind)
#6281C3
Tritanopia (blue-blind)
#00989E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #508ac4;
/* rgb */ color: rgb(80, 138, 196);
/* oklch */ color: oklch(61.9% 0.107 249.9);
Tailwind
colors: {
  custom: {
    50: '#8aabd6',
    500: '#508ac4',
    950: '#000000',
  },
}
SCSS
$custom: #508ac4;
$custom-light: #8aabd6;
$custom-dark: #000000;
JSON
{
  "hex": "#508ac4",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 196
  },
  "hsl": {
    "h": 210,
    "s": 49.573,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61902,
    "c": 0.10747,
    "h": 249.9
  },
  "luminance": 0.23868
}

Semantic roles & 50–950 ramp

primary
#508AC4
secondary
#D1B89F
accent
#944FD9
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0D1014
muted
#7D7F83

Preview Lab

Preview with #508AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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