#508CD4#508CD4

#508CD4 is a light, vivid cyan. Relative luminance 0.252; OKLCH L 63.2% C 0.126 H 254.1°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#508CD4
RGBrgb(80, 140, 212)
HSLhsl(213, 61%, 57%)
HSVhsv(213, 62%, 83%)
CMYKcmyk(62.3%, 34%, 0%, 16.9%)
CIE-LABlab(57.28, 2.62, -42.78)
CIE-LCHlch(57.28, 42.86, 273.51°)
OKLaboklab(63.19% -0.0345 -0.1211)
OKLCHoklch(63.19% 0.126 254.1)
XYZxyz(24.5657, 25.2128, 65.8465)
Luminance0.2521 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508CD4 #D49850
analogous
#50CED4 #508CD4 #5650D4
triadic
#508CD4 #D4508C #8CD450
tetradic
#508CD4 #D450CE #D49850 #50D456
square
#508CD4 #D450CE #D49850 #50D456
split-complementary
#508CD4 #D45650 #CED450
monochromatic
#215088 #2E6DB9 #508CD4 #81ACE0 #B2CDEC

Accessibility & contrast

On white

3.48
#508CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#508CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508CD4
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508CD4#FFFFFF#000000##000000
##508CD41.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D90D7
Deuteranopia (green-blind)
#5B84D3
Tritanopia (blue-blind)
#009DA6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #508cd4;
/* rgb */ color: rgb(80, 140, 212);
/* oklch */ color: oklch(63.2% 0.126 254.1);
Tailwind
colors: {
  custom: {
    50: '#8dade1',
    500: '#508cd4',
    950: '#000000',
  },
}
SCSS
$custom: #508cd4;
$custom-light: #8dade1;
$custom-dark: #000000;
JSON
{
  "hex": "#508cd4",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 212.727,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63192,
    "c": 0.12594,
    "h": 254.1
  },
  "luminance": 0.25215
}

Semantic roles & 50–950 ramp

primary
#508CD4
secondary
#DBC2A5
accent
#9B44E4
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #508CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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