#507DCD#507DCD

#507DCD is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.5% C 0.132 H 261.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#507DCD
RGBrgb(80, 125, 205)
HSLhsl(218, 56%, 56%)
HSVhsv(218, 61%, 80%)
CMYKcmyk(61%, 39%, 0%, 19.6%)
CIE-LABlab(52.71, 9.25, -46.07)
CIE-LCHlch(52.71, 46.99, 281.35°)
OKLaboklab(59.51% -0.0205 -0.1309)
OKLCHoklch(59.51% 0.132 261.1)
XYZxyz(21.6575, 20.7786, 60.6151)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DCD #CDA050
analogous
#50BBCD #507DCD #6150CD
triadic
#507DCD #CD507D #7DCD50
tetradic
#507DCD #CD50BB #CDA050 #50CD61
square
#507DCD #CD50BB #CDA050 #50CD61
split-complementary
#507DCD #CD6150 #BBCD50
monochromatic
#24457E #325EAE #507DCD #80A0DB #AFC4E8

Accessibility & contrast

On white

4.07
#507DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#507DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DCD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DCD#FFFFFF#000000##000000
##507DCD1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84D0
Deuteranopia (green-blind)
#4978CB
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #507dcd;
/* rgb */ color: rgb(80, 125, 205);
/* oklch */ color: oklch(59.5% 0.132 261.1);
Tailwind
colors: {
  custom: {
    50: '#8ca2dc',
    500: '#507dcd',
    950: '#000000',
  },
}
SCSS
$custom: #507dcd;
$custom-light: #8ca2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#507dcd",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 218.4,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59513,
    "c": 0.13248,
    "h": 261.1
  },
  "luminance": 0.2078
}

Semantic roles & 50–950 ramp

primary
#507DCD
secondary
#D6C4A2
accent
#A949DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #507DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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