#517DA2#517DA2

#517DA2 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.3% C 0.075 H 245.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#517DA2
RGBrgb(81, 125, 162)
HSLhsl(207, 33%, 48%)
HSVhsv(207, 50%, 64%)
CMYKcmyk(50%, 22.8%, 0%, 36.5%)
CIE-LABlab(50.72, -4.50, -24.46)
CIE-LCHlch(50.72, 24.87, 259.58°)
OKLaboklab(57.3% -0.0318 -0.0682)
OKLCHoklch(57.3% 0.075 245)
XYZxyz(17.2463, 19.0239, 36.9386)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DA2 #A27651
analogous
#51A29E #517DA2 #5155A2
triadic
#517DA2 #A2517D #7DA251
tetradic
#517DA2 #9E51A2 #A27651 #55A251
square
#517DA2 #9E51A2 #A27651 #55A251
split-complementary
#517DA2 #A25155 #A29E51
monochromatic
#283E50 #3D5E79 #517DA2 #769BBA #9FB9CF

Accessibility & contrast

On white

4.37
#517DA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#517DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DA2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DA2#FFFFFF#000000##000000
##517DA21.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA4
Deuteranopia (green-blind)
#6375A1
Tritanopia (blue-blind)
#2A8689
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #517da2;
/* rgb */ color: rgb(81, 125, 162);
/* oklch */ color: oklch(57.3% 0.075 245.0);
Tailwind
colors: {
  custom: {
    50: '#87a2bd',
    500: '#517da2',
    950: '#000000',
  },
}
SCSS
$custom: #517da2;
$custom-light: #87a2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#517da2",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 162
  },
  "hsl": {
    "h": 207.407,
    "s": 33.333,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57301,
    "c": 0.07524,
    "h": 245
  },
  "luminance": 0.19025
}

Semantic roles & 50–950 ramp

primary
#517DA2
secondary
#BCA693
accent
#8F5EC9
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0C0F12
muted
#7D7E81

Preview Lab

Preview with #517DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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