#517FC9#517FC9

#517FC9 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.8% C 0.124 H 259.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#517FC9
RGBrgb(81, 127, 201)
HSLhsl(217, 53%, 55%)
HSVhsv(217, 60%, 79%)
CMYKcmyk(59.7%, 36.8%, 0%, 21.2%)
CIE-LABlab(53.11, 6.88, -43.16)
CIE-LCHlch(53.11, 43.70, 279.06°)
OKLaboklab(59.77% -0.0226 -0.1223)
OKLCHoklch(59.77% 0.124 259.5)
XYZxyz(21.5216, 21.1432, 58.1939)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FC9 #C99B51
analogous
#51BBC9 #517FC9 #5F51C9
triadic
#517FC9 #C9517F #7FC951
tetradic
#517FC9 #C951BB #C99B51 #51C95F
square
#517FC9 #C951BB #C99B51 #51C95F
split-complementary
#517FC9 #C95F51 #BBC951
monochromatic
#26467A #3461A9 #517FC9 #80A1D7 #AEC4E6

Accessibility & contrast

On white

4.02
#517FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#517FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FC9
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FC9#FFFFFF#000000##000000
##517FC91.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6085CC
Deuteranopia (green-blind)
#507AC7
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #517fc9;
/* rgb */ color: rgb(81, 127, 201);
/* oklch */ color: oklch(59.8% 0.124 259.5);
Tailwind
colors: {
  custom: {
    50: '#8ba3da',
    500: '#517fc9',
    950: '#000000',
  },
}
SCSS
$custom: #517fc9;
$custom-light: #8ba3da;
$custom-dark: #000000;
JSON
{
  "hex": "#517fc9",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 201
  },
  "hsl": {
    "h": 217,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59768,
    "c": 0.12442,
    "h": 259.5
  },
  "luminance": 0.21145
}

Semantic roles & 50–950 ramp

primary
#517FC9
secondary
#D4C1A2
accent
#A54CDC
background
#F9FAFD
surface
#F1F3FA
border
#CBCDD3
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #517FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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