#517ACC#517ACC

#517ACC is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.9% C 0.134 H 262.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#517ACC
RGBrgb(81, 122, 204)
HSLhsl(220, 55%, 56%)
HSVhsv(220, 60%, 80%)
CMYKcmyk(60.3%, 40.2%, 0%, 20%)
CIE-LABlab(51.87, 10.93, -46.83)
CIE-LCHlch(51.87, 48.09, 283.14°)
OKLaboklab(58.86% -0.0166 -0.1331)
OKLCHoklch(58.86% 0.134 262.9)
XYZxyz(21.2482, 20.0262, 59.8607)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517ACC #CCA351
analogous
#51B7CC #517ACC #6551CC
triadic
#517ACC #CC517A #7ACC51
tetradic
#517ACC #CC51B7 #CCA351 #51CC65
square
#517ACC #CC51B7 #CCA351 #51CC65
split-complementary
#517ACC #CC6551 #B7CC51
monochromatic
#25427E #335CAD #517ACC #809EDA #B0C2E8

Accessibility & contrast

On white

4.20
#517ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#517ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517ACC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517ACC#FFFFFF#000000##000000
##517ACC1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682CF
Deuteranopia (green-blind)
#4576CA
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #517acc;
/* rgb */ color: rgb(81, 122, 204);
/* oklch */ color: oklch(58.9% 0.134 262.9);
Tailwind
colors: {
  custom: {
    50: '#8ca0dc',
    500: '#517acc',
    950: '#000000',
  },
}
SCSS
$custom: #517acc;
$custom-light: #8ca0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#517acc",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 204
  },
  "hsl": {
    "h": 220,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58859,
    "c": 0.13416,
    "h": 262.9
  },
  "luminance": 0.20028
}

Semantic roles & 50–950 ramp

primary
#517ACC
secondary
#D6C5A3
accent
#AD4ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #517ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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