#507AAA#507AAA

#507AAA is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.9% C 0.088 H 252.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#507AAA
RGBrgb(80, 122, 170)
HSLhsl(212, 36%, 49%)
HSVhsv(212, 53%, 67%)
CMYKcmyk(52.9%, 28.2%, 0%, 33.3%)
CIE-LABlab(50.13, -0.47, -30.03)
CIE-LCHlch(50.13, 30.03, 269.10°)
OKLaboklab(56.94% -0.0264 -0.0842)
OKLCHoklch(56.94% 0.088 252.6)
XYZxyz(17.5210, 18.5255, 40.6749)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507AAA #AA8050
analogous
#50A7AA #507AAA #5350AA
triadic
#507AAA #AA507A #7AAA50
tetradic
#507AAA #AA50A7 #AA8050 #50AA53
square
#507AAA #AA50A7 #AA8050 #50AA53
split-complementary
#507AAA #AA5350 #A7AA50
monochromatic
#293E57 #3C5C80 #507AAA #7899BF #A1B9D3

Accessibility & contrast

On white

4.46
#507AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#507AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507AAA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507AAA#FFFFFF#000000##000000
##507AAA1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#677CAC
Deuteranopia (green-blind)
#5B73A9
Tritanopia (blue-blind)
#1F858B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #507aaa;
/* rgb */ color: rgb(80, 122, 170);
/* oklch */ color: oklch(56.9% 0.088 252.6);
Tailwind
colors: {
  custom: {
    50: '#87a0c3',
    500: '#507aaa',
    950: '#000000',
  },
}
SCSS
$custom: #507aaa;
$custom-light: #87a0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#507aaa",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 212,
    "s": 36,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56938,
    "c": 0.08825,
    "h": 252.6
  },
  "luminance": 0.18527
}

Semantic roles & 50–950 ramp

primary
#507AAA
secondary
#C0AC96
accent
#985CCC
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E12
muted
#7D7E81

Preview Lab

Preview with #507AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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