#507EC5#507EC5

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

Color values

HEX#507EC5
RGBrgb(80, 126, 197)
HSLhsl(216, 50%, 54%)
HSVhsv(216, 59%, 77%)
CMYKcmyk(59.4%, 36%, 0%, 22.7%)
CIE-LABlab(52.57, 5.95, -41.73)
CIE-LCHlch(52.57, 42.15, 278.12°)
OKLaboklab(59.27% -0.0234 -0.1182)
OKLCHoklch(59.27% 0.12 258.8)
XYZxyz(20.8436, 20.6566, 55.7012)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507EC5 #C59750
analogous
#50B9C5 #507EC5 #5D50C5
triadic
#507EC5 #C5507E #7EC550
tetradic
#507EC5 #C550B9 #C59750 #50C55D
square
#507EC5 #C550B9 #C59750 #50C55D
split-complementary
#507EC5 #C55D50 #B9C550
monochromatic
#264574 #3660A2 #507EC5 #7EA0D4 #ACC2E3

Accessibility & contrast

On white

4.09
#507EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##507EC5#FFFFFF#000000##000000
##507EC51.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6083C8
Deuteranopia (green-blind)
#5178C4
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #507ec5;
/* rgb */ color: rgb(80, 126, 197);
/* oklch */ color: oklch(59.3% 0.120 258.8);
Tailwind
colors: {
  custom: {
    50: '#8aa3d7',
    500: '#507ec5',
    950: '#000000',
  },
}
SCSS
$custom: #507ec5;
$custom-light: #8aa3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#507ec5",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 197
  },
  "hsl": {
    "h": 216.41,
    "s": 50.215,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59273,
    "c": 0.12049,
    "h": 258.8
  },
  "luminance": 0.20658
}

Semantic roles & 50–950 ramp

primary
#507EC5
secondary
#D1BEA0
accent
#A34EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0F14
muted
#7D7E83

Preview Lab

Preview with #507EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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