#508CD7#508CD7

#508CD7 is a light, vivid cyan. Relative luminance 0.254; OKLCH L 63.4% C 0.130 H 254.9°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#508CD7
RGBrgb(80, 140, 215)
HSLhsl(213, 63%, 58%)
HSVhsv(213, 63%, 84%)
CMYKcmyk(62.8%, 34.9%, 0%, 15.7%)
CIE-LABlab(57.43, 3.63, -44.23)
CIE-LCHlch(57.43, 44.38, 274.69°)
OKLaboklab(63.36% -0.0337 -0.1253)
OKLCHoklch(63.36% 0.13 254.9)
XYZxyz(24.9477, 25.3656, 67.8581)
Luminance0.2537 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508CD7 #D79B50
analogous
#50D0D7 #508CD7 #5750D7
triadic
#508CD7 #D7508C #8CD750
tetradic
#508CD7 #D750D0 #D79B50 #50D757
square
#508CD7 #D750D0 #D79B50 #50D757
split-complementary
#508CD7 #D75750 #D0D750
monochromatic
#20508C #2B6DBE #508CD7 #82ADE2 #B4CDEE

Accessibility & contrast

On white

3.46
#508CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#508CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508CD7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508CD7#FFFFFF#000000##000000
##508CD71.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C91DA
Deuteranopia (green-blind)
#5984D5
Tritanopia (blue-blind)
#009DA7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #508cd7;
/* rgb */ color: rgb(80, 140, 215);
/* oklch */ color: oklch(63.4% 0.130 254.9);
Tailwind
colors: {
  custom: {
    50: '#8dade3',
    500: '#508cd7',
    950: '#000000',
  },
}
SCSS
$custom: #508cd7;
$custom-light: #8dade3;
$custom-dark: #000000;
JSON
{
  "hex": "#508cd7",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 215
  },
  "hsl": {
    "h": 213.333,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63356,
    "c": 0.12981,
    "h": 254.9
  },
  "luminance": 0.25368
}

Semantic roles & 50–950 ramp

primary
#508CD7
secondary
#DCC4A6
accent
#9D42E6
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #508CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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