#517FA2#517FA2

#517FA2 is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 57.8% C 0.074 H 242.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#517FA2
RGBrgb(81, 127, 162)
HSLhsl(206, 33%, 48%)
HSVhsv(206, 50%, 64%)
CMYKcmyk(50%, 21.6%, 0%, 36.5%)
CIE-LABlab(51.31, -5.66, -23.55)
CIE-LCHlch(51.31, 24.22, 256.48°)
OKLaboklab(57.77% -0.0343 -0.0656)
OKLCHoklch(57.77% 0.074 242.4)
XYZxyz(17.5020, 19.5354, 37.0238)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FA2 #A27451
analogous
#51A29C #517FA2 #5157A2
triadic
#517FA2 #A2517F #7FA251
tetradic
#517FA2 #9C51A2 #A27451 #57A251
square
#517FA2 #9C51A2 #A27451 #57A251
split-complementary
#517FA2 #A25157 #A29C51
monochromatic
#283F50 #3D5F79 #517FA2 #769DBA #9FBACF

Accessibility & contrast

On white

4.28
#517FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#517FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FA2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FA2#FFFFFF#000000##000000
##517FA21.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#707FA4
Deuteranopia (green-blind)
#6577A1
Tritanopia (blue-blind)
#29888B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #517fa2;
/* rgb */ color: rgb(81, 127, 162);
/* oklch */ color: oklch(57.8% 0.074 242.4);
Tailwind
colors: {
  custom: {
    50: '#87a4bd',
    500: '#517fa2',
    950: '#000000',
  },
}
SCSS
$custom: #517fa2;
$custom-light: #87a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#517fa2",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 205.926,
    "s": 33.333,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57769,
    "c": 0.07399,
    "h": 242.4
  },
  "luminance": 0.19537
}

Semantic roles & 50–950 ramp

primary
#517FA2
secondary
#BCA593
accent
#8D5EC9
background
#F8FAFB
surface
#F0F3F6
border
#CBCDD0
text
#0C0F12
muted
#7D7F81

Preview Lab

Preview with #517FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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