#508DB7#508DB7

#508DB7 is a mid, moderate cyan. Relative luminance 0.242; OKLCH L 62.0% C 0.090 H 240.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#508DB7
RGBrgb(80, 141, 183)
HSLhsl(204, 42%, 52%)
HSVhsv(204, 56%, 72%)
CMYKcmyk(56.3%, 23%, 0%, 28.2%)
CIE-LABlab(56.26, -7.39, -27.98)
CIE-LCHlch(56.26, 28.94, 255.19°)
OKLaboklab(61.96% -0.0444 -0.0782)
OKLCHoklch(61.96% 0.09 240.4)
XYZxyz(21.3772, 24.1723, 48.3297)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508DB7 #B77A50
analogous
#50B7AE #508DB7 #505AB7
triadic
#508DB7 #B7508D #8DB750
tetradic
#508DB7 #AE50B7 #B77A50 #5AB750
square
#508DB7 #AE50B7 #B77A50 #5AB750
split-complementary
#508DB7 #B7505A #B7AE50
monochromatic
#294C64 #3B6D8F #508DB7 #7BA9C9 #A7C5DB

Accessibility & contrast

On white

3.60
#508DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#508DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508DB7
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508DB7#FFFFFF#000000##000000
##508DB71.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8DB9
Deuteranopia (green-blind)
#6C82B6
Tritanopia (blue-blind)
#00979B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #508db7;
/* rgb */ color: rgb(80, 141, 183);
/* oklch */ color: oklch(62.0% 0.090 240.4);
Tailwind
colors: {
  custom: {
    50: '#89aecc',
    500: '#508db7',
    950: '#000000',
  },
}
SCSS
$custom: #508db7;
$custom-light: #89aecc;
$custom-dark: #000000;
JSON
{
  "hex": "#508db7",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 183
  },
  "hsl": {
    "h": 204.466,
    "s": 41.7,
    "l": 51.569
  },
  "oklch": {
    "l": 0.61957,
    "c": 0.08997,
    "h": 240.4
  },
  "luminance": 0.24174
}

Semantic roles & 50–950 ramp

primary
#508DB7
secondary
#C8AD9B
accent
#8956D2
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #508DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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