#517AEC#517AEC

#517AEC is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.9% C 0.178 H 266.3°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#517AEC
RGBrgb(81, 122, 236)
HSLhsl(224, 80%, 62%)
HSVhsv(224, 66%, 93%)
CMYKcmyk(65.7%, 48.3%, 0%, 7.5%)
CIE-LABlab(53.73, 21.87, -61.88)
CIE-LCHlch(53.73, 65.63, 289.46°)
OKLaboklab(60.89% -0.0114 -0.1773)
OKLCHoklch(60.89% 0.178 266.3)
XYZxyz(25.4880, 21.7221, 82.1902)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517AEC #ECC351
analogous
#51C8EC #517AEC #7651EC
triadic
#517AEC #EC517A #7AEC51
tetradic
#517AEC #EC51C8 #ECC351 #51EC76
square
#517AEC #EC51C8 #ECC351 #51EC76
split-complementary
#517AEC #EC7651 #C8EC51
monochromatic
#133CAF #1A50E6 #517AEC #88A4F2 #BFCEF8

Accessibility & contrast

On white

3.93
#517AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#517AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517AEC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517AEC#FFFFFF#000000##000000
##517AEC1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C88F0
Deuteranopia (green-blind)
#137AEA
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #517aec;
/* rgb */ color: rgb(81, 122, 236);
/* oklch */ color: oklch(60.9% 0.178 266.3);
Tailwind
colors: {
  custom: {
    50: '#919ff3',
    500: '#517aec',
    950: '#000000',
  },
}
SCSS
$custom: #517aec;
$custom-light: #919ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#517aec",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 224.129,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60892,
    "c": 0.17771,
    "h": 266.3
  },
  "luminance": 0.21725
}

Semantic roles & 50–950 ramp

primary
#517AEC
secondary
#E9DAB0
accent
#A509DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #517AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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