#507FC7#507FC7

#507FC7 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.6% C 0.122 H 258.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#507FC7
RGBrgb(80, 127, 199)
HSLhsl(216, 52%, 55%)
HSVhsv(216, 60%, 78%)
CMYKcmyk(59.8%, 36.2%, 0%, 22%)
CIE-LABlab(52.96, 6.02, -42.26)
CIE-LCHlch(52.96, 42.69, 278.10°)
OKLaboklab(59.61% -0.024 -0.1197)
OKLCHoklch(59.61% 0.122 258.7)
XYZxyz(21.2028, 21.0059, 56.9589)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FC7 #C79850
analogous
#50BAC7 #507FC7 #5D50C7
triadic
#507FC7 #C7507F #7FC750
tetradic
#507FC7 #C750BA #C79850 #50C75D
square
#507FC7 #C750BA #C79850 #50C75D
split-complementary
#507FC7 #C75D50 #BAC750
monochromatic
#264677 #3561A5 #507FC7 #7EA1D6 #ADC3E5

Accessibility & contrast

On white

4.04
#507FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#507FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FC7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FC7#FFFFFF#000000##000000
##507FC71.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6185CA
Deuteranopia (green-blind)
#5179C5
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #507fc7;
/* rgb */ color: rgb(80, 127, 199);
/* oklch */ color: oklch(59.6% 0.122 258.7);
Tailwind
colors: {
  custom: {
    50: '#8ba3d8',
    500: '#507fc7',
    950: '#000000',
  },
}
SCSS
$custom: #507fc7;
$custom-light: #8ba3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#507fc7",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 199
  },
  "hsl": {
    "h": 216.303,
    "s": 51.515,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59605,
    "c": 0.12211,
    "h": 258.7
  },
  "luminance": 0.21008
}

Semantic roles & 50–950 ramp

primary
#507FC7
secondary
#D2BFA0
accent
#A34DDB
background
#F9FAFD
surface
#F1F3FA
border
#CBCDD3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #507FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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