#508CB4#508CB4

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

Color values

HEX#508CB4
RGBrgb(80, 140, 180)
HSLhsl(204, 40%, 51%)
HSVhsv(204, 56%, 71%)
CMYKcmyk(55.6%, 22.2%, 0%, 29.4%)
CIE-LABlab(55.84, -7.77, -26.91)
CIE-LCHlch(55.84, 28.01, 253.90°)
OKLaboklab(61.59% -0.0443 -0.0752)
OKLCHoklch(61.59% 0.087 239.5)
XYZxyz(20.9215, 23.7551, 46.6538)
Luminance0.2376 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508CB4 #B47850
analogous
#50B4AA #508CB4 #505AB4
triadic
#508CB4 #B4508C #8CB450
tetradic
#508CB4 #AA50B4 #B47850 #5AB450
square
#508CB4 #AA50B4 #B47850 #5AB450
split-complementary
#508CB4 #B4505A #B4AA50
monochromatic
#294A60 #3C6B8B #508CB4 #7BA8C6 #A6C4D9

Accessibility & contrast

On white

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

On black

5.75
#508CB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508CB4
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508CB4#FFFFFF#000000##000000
##508CB41.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8CB6
Deuteranopia (green-blind)
#6C81B3
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #508cb4;
/* rgb */ color: rgb(80, 140, 180);
/* oklch */ color: oklch(61.6% 0.087 239.5);
Tailwind
colors: {
  custom: {
    50: '#88adca',
    500: '#508cb4',
    950: '#000000',
  },
}
SCSS
$custom: #508cb4;
$custom-light: #88adca;
$custom-dark: #000000;
JSON
{
  "hex": "#508cb4",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 180
  },
  "hsl": {
    "h": 204,
    "s": 40,
    "l": 50.98
  },
  "oklch": {
    "l": 0.61585,
    "c": 0.08727,
    "h": 239.5
  },
  "luminance": 0.23757
}

Semantic roles & 50–950 ramp

primary
#508CB4
secondary
#C6AB9A
accent
#8858D0
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #508CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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