#507CDC#507CDC

#507CDC is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.2% C 0.154 H 263.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#507CDC
RGBrgb(80, 124, 220)
HSLhsl(221, 67%, 59%)
HSVhsv(221, 64%, 86%)
CMYKcmyk(63.6%, 43.6%, 0%, 13.7%)
CIE-LABlab(53.26, 14.97, -53.67)
CIE-LCHlch(53.26, 55.71, 285.58°)
OKLaboklab(60.21% -0.0165 -0.1532)
OKLCHoklch(60.21% 0.154 263.9)
XYZxyz(23.4297, 21.2859, 70.5701)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CDC #DCB050
analogous
#50C2DC #507CDC #6A50DC
triadic
#507CDC #DC507C #7CDC50
tetradic
#507CDC #DC50C2 #DCB050 #50DC6A
square
#507CDC #DC50C2 #DCB050 #50DC6A
split-complementary
#507CDC #DC6A50 #C2DC50
monochromatic
#1E4394 #285AC7 #507CDC #83A2E6 #B6C8F0

Accessibility & contrast

On white

3.99
#507CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#507CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507CDC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507CDC#FFFFFF#000000##000000
##507CDC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F86E0
Deuteranopia (green-blind)
#3879DA
Tritanopia (blue-blind)
#0092A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #507cdc;
/* rgb */ color: rgb(80, 124, 220);
/* oklch */ color: oklch(60.2% 0.154 263.9);
Tailwind
colors: {
  custom: {
    50: '#8ea1e7',
    500: '#507cdc',
    950: '#000000',
  },
}
SCSS
$custom: #507cdc;
$custom-light: #8ea1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#507cdc",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 221.143,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60211,
    "c": 0.15408,
    "h": 263.9
  },
  "luminance": 0.21288
}

Semantic roles & 50–950 ramp

primary
#507CDC
secondary
#DFCEA8
accent
#B43EEA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #507CDC

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

Preview Lab → · Contrast checker → · Palette generator →

#507CDC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva