#508DB5#508DB5

#508DB5 is a mid, moderate cyan. Relative luminance 0.241; OKLCH L 61.9% C 0.088 H 239.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#508DB5
RGBrgb(80, 141, 181)
HSLhsl(204, 41%, 51%)
HSVhsv(204, 56%, 71%)
CMYKcmyk(55.8%, 22.1%, 0%, 29%)
CIE-LABlab(56.18, -8.02, -26.96)
CIE-LCHlch(56.18, 28.13, 253.43°)
OKLaboklab(61.87% -0.0451 -0.0753)
OKLCHoklch(61.87% 0.088 239.1)
XYZxyz(21.1706, 24.0896, 47.2412)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508DB5 #B57850
analogous
#50B5AA #508DB5 #505AB5
triadic
#508DB5 #B5508D #8DB550
tetradic
#508DB5 #AA50B5 #B57850 #5AB550
square
#508DB5 #AA50B5 #B57850 #5AB550
split-complementary
#508DB5 #B5505A #B5AA50
monochromatic
#294B61 #3B6C8C #508DB5 #7BA9C7 #A6C5D9

Accessibility & contrast

On white

3.61
#508DB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#508DB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508DB5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508DB5#FFFFFF#000000##000000
##508DB51.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8DB7
Deuteranopia (green-blind)
#6D82B4
Tritanopia (blue-blind)
#00979A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #508db5;
/* rgb */ color: rgb(80, 141, 181);
/* oklch */ color: oklch(61.9% 0.088 239.1);
Tailwind
colors: {
  custom: {
    50: '#89aecb',
    500: '#508db5',
    950: '#000000',
  },
}
SCSS
$custom: #508db5;
$custom-light: #89aecb;
$custom-dark: #000000;
JSON
{
  "hex": "#508db5",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 181
  },
  "hsl": {
    "h": 203.762,
    "s": 40.562,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61865,
    "c": 0.08782,
    "h": 239.1
  },
  "luminance": 0.24091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #508DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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