#517FCC#517FCC

#517FCC is a mid, vivid blue. Relative luminance 0.213; OKLCH L 59.9% C 0.128 H 260.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#517FCC
RGBrgb(81, 127, 204)
HSLhsl(218, 55%, 56%)
HSVhsv(218, 60%, 80%)
CMYKcmyk(60.3%, 37.7%, 0%, 20%)
CIE-LABlab(53.26, 7.89, -44.62)
CIE-LCHlch(53.26, 45.31, 280.03°)
OKLaboklab(59.94% -0.0219 -0.1266)
OKLCHoklch(59.94% 0.128 260.2)
XYZxyz(21.8780, 21.2858, 60.0707)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FCC #CC9E51
analogous
#51BCCC #517FCC #6051CC
triadic
#517FCC #CC517F #7FCC51
tetradic
#517FCC #CC51BC #CC9E51 #51CC60
square
#517FCC #CC51BC #CC9E51 #51CC60
split-complementary
#517FCC #CC6051 #BCCC51
monochromatic
#25467E #3360AD #517FCC #80A2DA #B0C5E8

Accessibility & contrast

On white

3.99
#517FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#517FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FCC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FCC#FFFFFF#000000##000000
##517FCC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CF
Deuteranopia (green-blind)
#4E7ACA
Tritanopia (blue-blind)
#00909C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #517fcc;
/* rgb */ color: rgb(81, 127, 204);
/* oklch */ color: oklch(59.9% 0.128 260.2);
Tailwind
colors: {
  custom: {
    50: '#8ca3dc',
    500: '#517fcc',
    950: '#000000',
  },
}
SCSS
$custom: #517fcc;
$custom-light: #8ca3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#517fcc",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 204
  },
  "hsl": {
    "h": 217.561,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59939,
    "c": 0.12849,
    "h": 260.2
  },
  "luminance": 0.21288
}

Semantic roles & 50–950 ramp

primary
#517FCC
secondary
#D6C3A3
accent
#A74ADE
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #517FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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