#517BCE#517BCE

#517BCE is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.2% C 0.136 H 262.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#517BCE
RGBrgb(81, 123, 206)
HSLhsl(220, 56%, 56%)
HSVhsv(220, 61%, 81%)
CMYKcmyk(60.7%, 40.3%, 0%, 19.2%)
CIE-LABlab(52.25, 10.99, -47.35)
CIE-LCHlch(52.25, 48.61, 283.07°)
OKLaboklab(59.19% -0.0173 -0.1347)
OKLCHoklch(59.19% 0.136 262.7)
XYZxyz(21.6130, 20.3696, 61.1733)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BCE #CEA451
analogous
#51BACE #517BCE #6651CE
triadic
#517BCE #CE517B #7BCE51
tetradic
#517BCE #CE51BA #CEA451 #51CE66
square
#517BCE #CE51BA #CEA451 #51CE66
split-complementary
#517BCE #CE6651 #BACE51
monochromatic
#244380 #325CB0 #517BCE #819FDB #B1C3E9

Accessibility & contrast

On white

4.14
#517BCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#517BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BCE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BCE#FFFFFF#000000##000000
##517BCE1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D1
Deuteranopia (green-blind)
#4577CC
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #517bce;
/* rgb */ color: rgb(81, 123, 206);
/* oklch */ color: oklch(59.2% 0.136 262.7);
Tailwind
colors: {
  custom: {
    50: '#8ca0dd',
    500: '#517bce',
    950: '#000000',
  },
}
SCSS
$custom: #517bce;
$custom-light: #8ca0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#517bce",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 206
  },
  "hsl": {
    "h": 219.84,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59193,
    "c": 0.13576,
    "h": 262.7
  },
  "luminance": 0.20371
}

Semantic roles & 50–950 ramp

primary
#517BCE
secondary
#D7C6A4
accent
#AD48DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #517BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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