#507EC7#507EC7

#507EC7 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.4% C 0.123 H 259.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#507EC7
RGBrgb(80, 126, 199)
HSLhsl(217, 52%, 55%)
HSVhsv(217, 60%, 78%)
CMYKcmyk(59.8%, 36.7%, 0%, 22%)
CIE-LABlab(52.67, 6.62, -42.71)
CIE-LCHlch(52.67, 43.22, 278.81°)
OKLaboklab(59.39% -0.0229 -0.121)
OKLCHoklch(59.39% 0.123 259.3)
XYZxyz(21.0743, 20.7489, 56.9161)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507EC7 #C79950
analogous
#50B9C7 #507EC7 #5E50C7
triadic
#507EC7 #C7507E #7EC750
tetradic
#507EC7 #C750B9 #C79950 #50C75E
square
#507EC7 #C750B9 #C79950 #50C75E
split-complementary
#507EC7 #C75E50 #B9C750
monochromatic
#264577 #3560A5 #507EC7 #7EA0D6 #ADC2E5

Accessibility & contrast

On white

4.08
#507EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#507EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507EC7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507EC7#FFFFFF#000000##000000
##507EC71.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F84CA
Deuteranopia (green-blind)
#4F79C5
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #507ec7;
/* rgb */ color: rgb(80, 126, 199);
/* oklch */ color: oklch(59.4% 0.123 259.3);
Tailwind
colors: {
  custom: {
    50: '#8ba3d8',
    500: '#507ec7',
    950: '#000000',
  },
}
SCSS
$custom: #507ec7;
$custom-light: #8ba3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#507ec7",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 199
  },
  "hsl": {
    "h": 216.807,
    "s": 51.515,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59386,
    "c": 0.12319,
    "h": 259.3
  },
  "luminance": 0.20751
}

Semantic roles & 50–950 ramp

primary
#507EC7
secondary
#D2BFA0
accent
#A44DDB
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0F14
muted
#7E7E83

Preview Lab

Preview with #507EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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