#517AAA#517AAA

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

Color values

HEX#517AAA
RGBrgb(81, 122, 170)
HSLhsl(212, 35%, 49%)
HSVhsv(212, 52%, 67%)
CMYKcmyk(52.4%, 28.2%, 0%, 33.3%)
CIE-LABlab(50.18, -0.23, -29.94)
CIE-LCHlch(50.18, 29.94, 269.55°)
OKLaboklab(56.99% -0.0255 -0.084)
OKLCHoklch(56.99% 0.088 253.1)
XYZxyz(17.6061, 18.5693, 40.6789)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517AAA #AA8151
analogous
#51A7AA #517AAA #5551AA
triadic
#517AAA #AA517A #7AAA51
tetradic
#517AAA #AA51A7 #AA8151 #51AA55
square
#517AAA #AA51A7 #AA8151 #51AA55
split-complementary
#517AAA #AA5551 #A7AA51
monochromatic
#2A3F57 #3D5C81 #517AAA #7999BF #A2B9D3

Accessibility & contrast

On white

4.45
#517AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##517AAA#FFFFFF#000000##000000
##517AAA1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#677CAC
Deuteranopia (green-blind)
#5C73A9
Tritanopia (blue-blind)
#23858B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #517aaa;
/* rgb */ color: rgb(81, 122, 170);
/* oklch */ color: oklch(57.0% 0.088 253.1);
Tailwind
colors: {
  custom: {
    50: '#87a0c3',
    500: '#517aaa',
    950: '#000000',
  },
}
SCSS
$custom: #517aaa;
$custom-light: #87a0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#517aaa",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 212.36,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56993,
    "c": 0.08774,
    "h": 253.1
  },
  "luminance": 0.18571
}

Semantic roles & 50–950 ramp

primary
#517AAA
secondary
#C0AD97
accent
#985CCB
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E12
muted
#7D7E81

Preview Lab

Preview with #517AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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