#507DC7#507DC7

#507DC7 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.2% C 0.124 H 259.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#507DC7
RGBrgb(80, 125, 199)
HSLhsl(217, 52%, 55%)
HSVhsv(217, 60%, 78%)
CMYKcmyk(59.8%, 37.2%, 0%, 22%)
CIE-LABlab(52.39, 7.23, -43.15)
CIE-LCHlch(52.39, 43.75, 279.51°)
OKLaboklab(59.17% -0.0218 -0.1224)
OKLCHoklch(59.17% 0.124 259.9)
XYZxyz(20.9471, 20.4944, 56.8737)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DC7 #C79A50
analogous
#50B8C7 #507DC7 #5F50C7
triadic
#507DC7 #C7507D #7DC750
tetradic
#507DC7 #C750B8 #C79A50 #50C75F
square
#507DC7 #C750B8 #C79A50 #50C75F
split-complementary
#507DC7 #C75F50 #B8C750
monochromatic
#264477 #355FA5 #507DC7 #7E9FD6 #ADC2E5

Accessibility & contrast

On white

4.12
#507DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#507DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DC7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DC7#FFFFFF#000000##000000
##507DC71.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E83CA
Deuteranopia (green-blind)
#4E78C5
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #507dc7;
/* rgb */ color: rgb(80, 125, 199);
/* oklch */ color: oklch(59.2% 0.124 259.9);
Tailwind
colors: {
  custom: {
    50: '#8ba2d8',
    500: '#507dc7',
    950: '#000000',
  },
}
SCSS
$custom: #507dc7;
$custom-light: #8ba2d8;
$custom-dark: #000000;
JSON
{
  "hex": "#507dc7",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 199
  },
  "hsl": {
    "h": 217.311,
    "s": 51.515,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59167,
    "c": 0.12429,
    "h": 259.9
  },
  "luminance": 0.20496
}

Semantic roles & 50–950 ramp

primary
#507DC7
secondary
#D2C0A0
accent
#A54DDB
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0F14
muted
#7E7E83

Preview Lab

Preview with #507DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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