#517899#517899

#517899 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.7% C 0.068 H 245.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#517899
RGBrgb(81, 120, 153)
HSLhsl(208, 31%, 46%)
HSVhsv(208, 47%, 60%)
CMYKcmyk(47.1%, 21.6%, 0%, 40%)
CIE-LABlab(48.86, -4.32, -22.06)
CIE-LCHlch(48.86, 22.48, 258.93°)
OKLaboklab(55.72% -0.0286 -0.0613)
OKLCHoklch(55.72% 0.068 245)
XYZxyz(15.8576, 17.4811, 32.6694)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517899 #997251
analogous
#519996 #517899 #515499
triadic
#517899 #995178 #789951
tetradic
#517899 #965199 #997251 #549951
square
#517899 #965199 #997251 #549951
split-complementary
#517899 #995154 #999651
monochromatic
#273949 #3C5971 #517899 #7396B5 #9BB4CA

Accessibility & contrast

On white

4.67
#517899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#517899 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #517899
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517899#FFFFFF#000000##FFFFFF
##5178991.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A789B
Deuteranopia (green-blind)
#617198
Tritanopia (blue-blind)
#328083
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #517899;
/* rgb */ color: rgb(81, 120, 153);
/* oklch */ color: oklch(55.7% 0.068 245.0);
Tailwind
colors: {
  custom: {
    50: '#869eb7',
    500: '#517899',
    950: '#000000',
  },
}
SCSS
$custom: #517899;
$custom-light: #869eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#517899",
  "rgb": {
    "r": 81,
    "g": 120,
    "b": 153
  },
  "hsl": {
    "h": 207.5,
    "s": 30.769,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55715,
    "c": 0.06771,
    "h": 245
  },
  "luminance": 0.17482
}

Semantic roles & 50–950 ramp

primary
#517899
secondary
#B7A18F
accent
#9061C7
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0B0E11
muted
#7C7E80

Preview Lab

Preview with #517899

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

Preview Lab → · Contrast checker → · Palette generator →

#517899 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva