#517FC2#517FC2

#517FC2 is a mid, moderate blue. Relative luminance 0.208; OKLCH L 59.4% C 0.115 H 257.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#517FC2
RGBrgb(81, 127, 194)
HSLhsl(216, 48%, 54%)
HSVhsv(216, 58%, 76%)
CMYKcmyk(58.2%, 34.5%, 0%, 23.9%)
CIE-LABlab(52.75, 4.56, -39.73)
CIE-LCHlch(52.75, 39.99, 276.54°)
OKLaboklab(59.38% -0.0244 -0.1123)
OKLCHoklch(59.38% 0.115 257.7)
XYZxyz(20.7169, 20.8214, 53.9557)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FC2 #C29451
analogous
#51B8C2 #517FC2 #5C51C2
triadic
#517FC2 #C2517F #7FC251
tetradic
#517FC2 #C251B8 #C29451 #51C25C
square
#517FC2 #C251B8 #C29451 #51C25C
split-complementary
#517FC2 #C25C51 #B8C251
monochromatic
#284571 #37619E #517FC2 #7EA0D2 #ACC2E2

Accessibility & contrast

On white

4.07
#517FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#517FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FC2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FC2#FFFFFF#000000##000000
##517FC21.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6384C5
Deuteranopia (green-blind)
#5579C1
Tritanopia (blue-blind)
#008E97
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #517fc2;
/* rgb */ color: rgb(81, 127, 194);
/* oklch */ color: oklch(59.4% 0.115 257.7);
Tailwind
colors: {
  custom: {
    50: '#8aa3d5',
    500: '#517fc2',
    950: '#000000',
  },
}
SCSS
$custom: #517fc2;
$custom-light: #8aa3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#517fc2",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 215.575,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59379,
    "c": 0.11494,
    "h": 257.7
  },
  "luminance": 0.20823
}

Semantic roles & 50–950 ramp

primary
#517FC2
secondary
#D0BC9F
accent
#A050D8
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0D0F14
muted
#7D7F83

Preview Lab

Preview with #517FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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