#508DB4#508DB4

#508DB4 is a mid, moderate cyan. Relative luminance 0.241; OKLCH L 61.8% C 0.087 H 238.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#508DB4
RGBrgb(80, 141, 180)
HSLhsl(203, 40%, 51%)
HSVhsv(203, 56%, 71%)
CMYKcmyk(55.6%, 21.7%, 0%, 29.4%)
CIE-LABlab(56.14, -8.33, -26.46)
CIE-LCHlch(56.14, 27.74, 252.51°)
OKLaboklab(61.82% -0.0455 -0.0739)
OKLCHoklch(61.82% 0.087 238.4)
XYZxyz(21.0683, 24.0487, 46.7028)
Luminance0.2405 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508DB4 #B47750
analogous
#50B4A9 #508DB4 #505BB4
triadic
#508DB4 #B4508D #8DB450
tetradic
#508DB4 #A950B4 #B47750 #5BB450
square
#508DB4 #A950B4 #B47750 #5BB450
split-complementary
#508DB4 #B4505B #B4A950
monochromatic
#294B60 #3C6C8B #508DB4 #7BA9C6 #A6C5D9

Accessibility & contrast

On white

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

On black

5.81
#508DB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508DB4
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508DB4#FFFFFF#000000##000000
##508DB41.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #508db4;
/* rgb */ color: rgb(80, 141, 180);
/* oklch */ color: oklch(61.8% 0.087 238.4);
Tailwind
colors: {
  custom: {
    50: '#88aeca',
    500: '#508db4',
    950: '#000000',
  },
}
SCSS
$custom: #508db4;
$custom-light: #88aeca;
$custom-dark: #000000;
JSON
{
  "hex": "#508db4",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 180
  },
  "hsl": {
    "h": 203.4,
    "s": 40,
    "l": 50.98
  },
  "oklch": {
    "l": 0.61819,
    "c": 0.08676,
    "h": 238.4
  },
  "luminance": 0.24051
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #508DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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