#517CC3#517CC3

#517CC3 is a mid, moderate blue. Relative luminance 0.201; OKLCH L 58.8% C 0.120 H 260.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#517CC3
RGBrgb(81, 124, 195)
HSLhsl(217, 49%, 54%)
HSVhsv(217, 58%, 76%)
CMYKcmyk(58.5%, 36.4%, 0%, 23.5%)
CIE-LABlab(51.95, 6.70, -41.56)
CIE-LCHlch(51.95, 42.10, 279.15°)
OKLaboklab(58.77% -0.0208 -0.1177)
OKLCHoklch(58.77% 0.12 260)
XYZxyz(20.4479, 20.1030, 54.4219)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CC3 #C39851
analogous
#51B5C3 #517CC3 #5F51C3
triadic
#517CC3 #C3517C #7CC351
tetradic
#517CC3 #C351B5 #C39851 #51C35F
square
#517CC3 #C351B5 #C39851 #51C35F
split-complementary
#517CC3 #C35F51 #B5C351
monochromatic
#274472 #375FA0 #517CC3 #7F9ED3 #ACC1E2

Accessibility & contrast

On white

4.18
#517CC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#517CC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CC3
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CC3#FFFFFF#000000##000000
##517CC31.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E82C6
Deuteranopia (green-blind)
#5077C2
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #517cc3;
/* rgb */ color: rgb(81, 124, 195);
/* oklch */ color: oklch(58.8% 0.120 260.0);
Tailwind
colors: {
  custom: {
    50: '#8ba1d5',
    500: '#517cc3',
    950: '#000000',
  },
}
SCSS
$custom: #517cc3;
$custom-light: #8ba1d5;
$custom-dark: #000000;
JSON
{
  "hex": "#517cc3",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 195
  },
  "hsl": {
    "h": 217.368,
    "s": 48.718,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58772,
    "c": 0.11953,
    "h": 260
  },
  "luminance": 0.20105
}

Semantic roles & 50–950 ramp

primary
#517CC3
secondary
#D0BEA0
accent
#A550D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E14
muted
#7D7E83

Preview Lab

Preview with #517CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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