#507FA7#507FA7

#507FA7 is a mid, moderate cyan. Relative luminance 0.197; OKLCH L 57.9% C 0.080 H 245.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#507FA7
RGBrgb(80, 127, 167)
HSLhsl(208, 35%, 48%)
HSVhsv(208, 52%, 65%)
CMYKcmyk(52.1%, 24%, 0%, 34.5%)
CIE-LABlab(51.47, -4.36, -26.21)
CIE-LCHlch(51.47, 26.57, 260.56°)
OKLaboklab(57.95% -0.0334 -0.0732)
OKLCHoklch(57.95% 0.08 245.5)
XYZxyz(17.8702, 19.6728, 39.4073)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FA7 #A77850
analogous
#50A7A3 #507FA7 #5053A7
triadic
#507FA7 #A7507F #7FA750
tetradic
#507FA7 #A350A7 #A77850 #53A750
square
#507FA7 #A350A7 #A77850 #53A750
split-complementary
#507FA7 #A75053 #A7A350
monochromatic
#284054 #3C607E #507FA7 #779DBE #A0BBD1

Accessibility & contrast

On white

4.26
#507FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#507FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FA7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FA7#FFFFFF#000000##000000
##507FA71.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E80A9
Deuteranopia (green-blind)
#6377A6
Tritanopia (blue-blind)
#21898D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #507fa7;
/* rgb */ color: rgb(80, 127, 167);
/* oklch */ color: oklch(57.9% 0.080 245.5);
Tailwind
colors: {
  custom: {
    50: '#87a4c1',
    500: '#507fa7',
    950: '#000000',
  },
}
SCSS
$custom: #507fa7;
$custom-light: #87a4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#507fa7",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 167
  },
  "hsl": {
    "h": 207.586,
    "s": 35.223,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57948,
    "c": 0.08047,
    "h": 245.5
  },
  "luminance": 0.19674
}

Semantic roles & 50–950 ramp

primary
#507FA7
secondary
#BFA894
accent
#8F5DCB
background
#F8FAFB
surface
#F0F3F7
border
#CBCDD0
text
#0C0F12
muted
#7D7F81

Preview Lab

Preview with #507FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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