#517ABC#517ABC

#517ABC is a mid, moderate blue. Relative luminance 0.193; OKLCH L 57.9% C 0.112 H 259.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#517ABC
RGBrgb(81, 122, 188)
HSLhsl(217, 44%, 53%)
HSVhsv(217, 57%, 74%)
CMYKcmyk(56.9%, 35.1%, 0%, 26.3%)
CIE-LABlab(51.03, 5.59, -39.00)
CIE-LCHlch(51.03, 39.40, 278.15°)
OKLaboklab(57.94% -0.0203 -0.1102)
OKLCHoklch(57.94% 0.112 259.5)
XYZxyz(19.4268, 19.2977, 50.2683)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517ABC #BC9351
analogous
#51B0BC #517ABC #5D51BC
triadic
#517ABC #BC517A #7ABC51
tetradic
#517ABC #BC51B0 #BC9351 #51BC5D
square
#517ABC #BC51B0 #BC9351 #51BC5D
split-complementary
#517ABC #BC5D51 #B0BC51
monochromatic
#29426A #3A5D96 #517ABC #7D9CCD #A9BEDE

Accessibility & contrast

On white

4.32
#517ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#517ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517ABC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517ABC#FFFFFF#000000##000000
##517ABC1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBF
Deuteranopia (green-blind)
#5175BB
Tritanopia (blue-blind)
#008992
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #517abc;
/* rgb */ color: rgb(81, 122, 188);
/* oklch */ color: oklch(57.9% 0.112 259.5);
Tailwind
colors: {
  custom: {
    50: '#8aa0d0',
    500: '#517abc',
    950: '#000000',
  },
}
SCSS
$custom: #517abc;
$custom-light: #8aa0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#517abc",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 188
  },
  "hsl": {
    "h": 217.009,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57941,
    "c": 0.11211,
    "h": 259.5
  },
  "luminance": 0.19299
}

Semantic roles & 50–950 ramp

primary
#517ABC
secondary
#CCBA9D
accent
#A354D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #517ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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