#517EB3#517EB3

#517EB3 is a mid, moderate cyan. Relative luminance 0.199; OKLCH L 58.4% C 0.096 H 253.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#517EB3
RGBrgb(81, 126, 179)
HSLhsl(212, 39%, 51%)
HSVhsv(212, 55%, 70%)
CMYKcmyk(54.7%, 29.6%, 0%, 29.8%)
CIE-LABlab(51.75, 0.26, -32.69)
CIE-LCHlch(51.75, 32.70, 270.46°)
OKLaboklab(58.36% -0.0275 -0.0919)
OKLCHoklch(58.36% 0.096 253.4)
XYZxyz(18.9880, 19.9242, 45.4842)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517EB3 #B38651
analogous
#51AFB3 #517EB3 #5551B3
triadic
#517EB3 #B3517E #7EB351
tetradic
#517EB3 #B351AF #B38651 #51B355
square
#517EB3 #B351AF #B38651 #51B355
split-complementary
#517EB3 #B35551 #AFB351
monochromatic
#2A4360 #3C608A #517EB3 #7C9EC6 #A6BDD8

Accessibility & contrast

On white

4.21
#517EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#517EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517EB3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517EB3#FFFFFF#000000##000000
##517EB31.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6881B5
Deuteranopia (green-blind)
#5C77B2
Tritanopia (blue-blind)
#138A91
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #517eb3;
/* rgb */ color: rgb(81, 126, 179);
/* oklch */ color: oklch(58.4% 0.096 253.4);
Tailwind
colors: {
  custom: {
    50: '#89a3ca',
    500: '#517eb3',
    950: '#000000',
  },
}
SCSS
$custom: #517eb3;
$custom-light: #89a3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#517eb3",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 179
  },
  "hsl": {
    "h": 212.449,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58361,
    "c": 0.09592,
    "h": 253.4
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

primary
#517EB3
secondary
#C6B29A
accent
#9959CF
background
#F8FAFC
surface
#F0F3F8
border
#CBCDD1
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #517EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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