#508CB5#508CB5

#508CB5 is a mid, moderate cyan. Relative luminance 0.238; OKLCH L 61.6% C 0.088 H 240.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#508CB5
RGBrgb(80, 140, 181)
HSLhsl(204, 41%, 51%)
HSVhsv(204, 56%, 71%)
CMYKcmyk(55.8%, 22.7%, 0%, 29%)
CIE-LABlab(55.88, -7.45, -27.42)
CIE-LCHlch(55.88, 28.42, 254.79°)
OKLaboklab(61.63% -0.044 -0.0766)
OKLCHoklch(61.63% 0.088 240.2)
XYZxyz(21.0238, 23.7960, 47.1923)
Luminance0.2380 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508CB5 #B57950
analogous
#50B5AB #508CB5 #5059B5
triadic
#508CB5 #B5508C #8CB550
tetradic
#508CB5 #AB50B5 #B57950 #59B550
square
#508CB5 #AB50B5 #B57950 #59B550
split-complementary
#508CB5 #B55059 #B5AB50
monochromatic
#294B61 #3B6C8C #508CB5 #7BA8C7 #A6C5D9

Accessibility & contrast

On white

3.65
#508CB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#508CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508CB5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508CB5#FFFFFF#000000##000000
##508CB51.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8CB7
Deuteranopia (green-blind)
#6C81B4
Tritanopia (blue-blind)
#00969A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #508cb5;
/* rgb */ color: rgb(80, 140, 181);
/* oklch */ color: oklch(61.6% 0.088 240.2);
Tailwind
colors: {
  custom: {
    50: '#89adcb',
    500: '#508cb5',
    950: '#000000',
  },
}
SCSS
$custom: #508cb5;
$custom-light: #89adcb;
$custom-dark: #000000;
JSON
{
  "hex": "#508cb5",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 181
  },
  "hsl": {
    "h": 204.356,
    "s": 40.562,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61632,
    "c": 0.08836,
    "h": 240.2
  },
  "luminance": 0.23798
}

Semantic roles & 50–950 ramp

primary
#508CB5
secondary
#C7AC9A
accent
#8957D0
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #508CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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