#517B97#517B97

#517B97 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.3% C 0.064 H 238.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#517B97
RGBrgb(81, 123, 151)
HSLhsl(204, 30%, 45%)
HSVhsv(204, 46%, 59%)
CMYKcmyk(46.4%, 18.5%, 0%, 40.8%)
CIE-LABlab(49.68, -6.66, -19.64)
CIE-LCHlch(49.68, 20.74, 251.26°)
OKLaboklab(56.33% -0.0332 -0.0545)
OKLCHoklch(56.33% 0.064 238.6)
XYZxyz(16.0603, 18.1485, 31.9289)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517B97 #976D51
analogous
#519790 #517B97 #515897
triadic
#517B97 #97517B #7B9751
tetradic
#517B97 #905197 #976D51 #589751
square
#517B97 #905197 #976D51 #589751
split-complementary
#517B97 #975158 #979051
monochromatic
#263A47 #3C5B6F #517B97 #7299B3 #9AB6C9

Accessibility & contrast

On white

4.54
#517B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#517B97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517B97
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517B97#FFFFFF#000000##000000
##517B971.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7A98
Deuteranopia (green-blind)
#657397
Tritanopia (blue-blind)
#338284
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #517b97;
/* rgb */ color: rgb(81, 123, 151);
/* oklch */ color: oklch(56.3% 0.064 238.6);
Tailwind
colors: {
  custom: {
    50: '#86a1b5',
    500: '#517b97',
    950: '#000000',
  },
}
SCSS
$custom: #517b97;
$custom-light: #86a1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#517b97",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 151
  },
  "hsl": {
    "h": 204,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56333,
    "c": 0.0638,
    "h": 238.6
  },
  "luminance": 0.1815
}

Semantic roles & 50–950 ramp

primary
#517B97
secondary
#B69E8E
accent
#8A61C6
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0B0E11
muted
#7C7E80

Preview Lab

Preview with #517B97

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

Preview Lab → · Contrast checker → · Palette generator →

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