#508DB1#508DB1

#508DB1 is a mid, moderate cyan. Relative luminance 0.239; OKLCH L 61.7% C 0.084 H 236.2°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#508DB1
RGBrgb(80, 141, 177)
HSLhsl(202, 38%, 50%)
HSVhsv(202, 55%, 69%)
CMYKcmyk(54.8%, 20.3%, 0%, 30.6%)
CIE-LABlab(56.02, -9.27, -24.93)
CIE-LCHlch(56.02, 26.60, 249.61°)
OKLaboklab(61.68% -0.0465 -0.0695)
OKLCHoklch(61.68% 0.084 236.2)
XYZxyz(20.7660, 23.9278, 45.1106)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508DB1 #B17450
analogous
#50B1A4 #508DB1 #505CB1
triadic
#508DB1 #B1508D #8DB150
tetradic
#508DB1 #A450B1 #B17450 #5CB150
square
#508DB1 #A450B1 #B17450 #5CB150
split-complementary
#508DB1 #B1505C #B1A450
monochromatic
#294A5D #3C6C87 #508DB1 #7AA9C4 #A5C4D7

Accessibility & contrast

On white

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

On black

5.79
#508DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508DB1
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508DB1#FFFFFF#000000##000000
##508DB11.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8CB3
Deuteranopia (green-blind)
#6F82B0
Tritanopia (blue-blind)
#069699
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #508db1;
/* rgb */ color: rgb(80, 141, 177);
/* oklch */ color: oklch(61.7% 0.084 236.2);
Tailwind
colors: {
  custom: {
    50: '#88aec8',
    500: '#508db1',
    950: '#000000',
  },
}
SCSS
$custom: #508db1;
$custom-light: #88aec8;
$custom-dark: #000000;
JSON
{
  "hex": "#508db1",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 177
  },
  "hsl": {
    "h": 202.268,
    "s": 38.34,
    "l": 50.392
  },
  "oklch": {
    "l": 0.61683,
    "c": 0.08367,
    "h": 236.2
  },
  "luminance": 0.2393
}

Semantic roles & 50–950 ramp

primary
#508DB1
secondary
#C4A999
accent
#855ACE
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #508DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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