#508CD5#508CD5

#508CD5 is a light, vivid cyan. Relative luminance 0.253; OKLCH L 63.2% C 0.127 H 254.4°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#508CD5
RGBrgb(80, 140, 213)
HSLhsl(213, 61%, 57%)
HSVhsv(213, 62%, 84%)
CMYKcmyk(62.4%, 34.3%, 0%, 16.5%)
CIE-LABlab(57.33, 2.96, -43.27)
CIE-LCHlch(57.33, 43.37, 273.91°)
OKLaboklab(63.25% -0.0342 -0.1225)
OKLCHoklch(63.25% 0.127 254.4)
XYZxyz(24.6923, 25.2634, 66.5129)
Luminance0.2527 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508CD5 #D59950
analogous
#50CFD5 #508CD5 #5650D5
triadic
#508CD5 #D5508C #8CD550
tetradic
#508CD5 #D550CF #D59950 #50D556
square
#508CD5 #D550CF #D59950 #50D556
split-complementary
#508CD5 #D55650 #CFD550
monochromatic
#21508A #2D6DBB #508CD5 #81ACE1 #B3CDED

Accessibility & contrast

On white

3.47
#508CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#508CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508CD5
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508CD5#FFFFFF#000000##000000
##508CD51.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D91D8
Deuteranopia (green-blind)
#5B84D4
Tritanopia (blue-blind)
#009DA7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #508cd5;
/* rgb */ color: rgb(80, 140, 213);
/* oklch */ color: oklch(63.2% 0.127 254.4);
Tailwind
colors: {
  custom: {
    50: '#8dade2',
    500: '#508cd5',
    950: '#000000',
  },
}
SCSS
$custom: #508cd5;
$custom-light: #8dade2;
$custom-dark: #000000;
JSON
{
  "hex": "#508cd5",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 213
  },
  "hsl": {
    "h": 212.932,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63247,
    "c": 0.12722,
    "h": 254.4
  },
  "luminance": 0.25266
}

Semantic roles & 50–950 ramp

primary
#508CD5
secondary
#DBC3A6
accent
#9C43E4
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #508CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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