#517DCA#517DCA

#517DCA is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.4% C 0.128 H 260.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#517DCA
RGBrgb(81, 125, 202)
HSLhsl(218, 53%, 55%)
HSVhsv(218, 60%, 79%)
CMYKcmyk(59.9%, 38.1%, 0%, 20.8%)
CIE-LABlab(52.60, 8.43, -44.53)
CIE-LCHlch(52.60, 45.32, 280.72°)
OKLaboklab(59.39% -0.0203 -0.1264)
OKLCHoklch(59.39% 0.128 260.9)
XYZxyz(21.3839, 20.6790, 58.7302)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DCA #CA9E51
analogous
#51B9CA #517DCA #6151CA
triadic
#517DCA #CA517D #7DCA51
tetradic
#517DCA #CA51B9 #CA9E51 #51CA61
square
#517DCA #CA51B9 #CA9E51 #51CA61
split-complementary
#517DCA #CA6151 #B9CA51
monochromatic
#25457B #345FAA #517DCA #80A0D8 #AFC3E7

Accessibility & contrast

On white

4.09
#517DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#517DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DCA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DCA#FFFFFF#000000##000000
##517DCA1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CD
Deuteranopia (green-blind)
#4C78C8
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #517dca;
/* rgb */ color: rgb(81, 125, 202);
/* oklch */ color: oklch(59.4% 0.128 260.9);
Tailwind
colors: {
  custom: {
    50: '#8ca2da',
    500: '#517dca',
    950: '#000000',
  },
}
SCSS
$custom: #517dca;
$custom-light: #8ca2da;
$custom-dark: #000000;
JSON
{
  "hex": "#517dca",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 218.182,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5939,
    "c": 0.12799,
    "h": 260.9
  },
  "luminance": 0.20681
}

Semantic roles & 50–950 ramp

primary
#517DCA
secondary
#D5C2A2
accent
#A84BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #517DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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