#507DCA#507DCA

#507DCA is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.3% C 0.128 H 260.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#507DCA
RGBrgb(80, 125, 202)
HSLhsl(218, 54%, 55%)
HSVhsv(218, 60%, 79%)
CMYKcmyk(60.4%, 38.1%, 0%, 20.8%)
CIE-LABlab(52.55, 8.23, -44.61)
CIE-LCHlch(52.55, 45.37, 280.46°)
OKLaboklab(59.34% -0.0211 -0.1266)
OKLCHoklch(59.34% 0.128 260.5)
XYZxyz(21.2988, 20.6351, 58.7262)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DCA #CA9D50
analogous
#50BACA #507DCA #6050CA
triadic
#507DCA #CA507D #7DCA50
tetradic
#507DCA #CA50BA #CA9D50 #50CA60
square
#507DCA #CA50BA #CA9D50 #50CA60
split-complementary
#507DCA #CA6050 #BACA50
monochromatic
#25457A #335FA9 #507DCA #7FA0D8 #AEC3E6

Accessibility & contrast

On white

4.10
#507DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#507DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DCA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DCA#FFFFFF#000000##000000
##507DCA1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CD
Deuteranopia (green-blind)
#4C78C8
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #507dca;
/* rgb */ color: rgb(80, 125, 202);
/* oklch */ color: oklch(59.3% 0.128 260.5);
Tailwind
colors: {
  custom: {
    50: '#8ba2da',
    500: '#507dca',
    950: '#000000',
  },
}
SCSS
$custom: #507dca;
$custom-light: #8ba2da;
$custom-dark: #000000;
JSON
{
  "hex": "#507dca",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 217.869,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59339,
    "c": 0.12838,
    "h": 260.5
  },
  "luminance": 0.20637
}

Semantic roles & 50–950 ramp

primary
#507DCA
secondary
#D4C2A1
accent
#A74BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #507DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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