#517BC7#517BC7

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

Color values

HEX#517BC7
RGBrgb(81, 123, 199)
HSLhsl(219, 51%, 55%)
HSVhsv(219, 59%, 78%)
CMYKcmyk(59.3%, 38.2%, 0%, 22%)
CIE-LABlab(51.88, 8.64, -43.96)
CIE-LCHlch(51.88, 44.80, 281.12°)
OKLaboklab(58.78% -0.0188 -0.1247)
OKLCHoklch(58.78% 0.126 261.4)
XYZxyz(20.7815, 20.0370, 56.7941)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BC7 #C79D51
analogous
#51B6C7 #517BC7 #6251C7
triadic
#517BC7 #C7517B #7BC751
tetradic
#517BC7 #C751B6 #C79D51 #51C762
square
#517BC7 #C751B6 #C79D51 #51C762
split-complementary
#517BC7 #C76251 #B6C751
monochromatic
#264377 #355DA6 #517BC7 #7F9ED6 #AEC1E5

Accessibility & contrast

On white

4.19
#517BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##517BC7#FFFFFF#000000##000000
##517BC71.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B82CA
Deuteranopia (green-blind)
#4B77C5
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #517bc7;
/* rgb */ color: rgb(81, 123, 199);
/* oklch */ color: oklch(58.8% 0.126 261.4);
Tailwind
colors: {
  custom: {
    50: '#8ba0d8',
    500: '#517bc7',
    950: '#000000',
  },
}
SCSS
$custom: #517bc7;
$custom-light: #8ba0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#517bc7",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 218.644,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58782,
    "c": 0.12614,
    "h": 261.4
  },
  "luminance": 0.20039
}

Semantic roles & 50–950 ramp

primary
#517BC7
secondary
#D3C1A1
accent
#A84DDB
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #517BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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