#517BCC#517BCC

#517BCC is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.1% C 0.133 H 262.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#517BCC
RGBrgb(81, 123, 204)
HSLhsl(220, 55%, 56%)
HSVhsv(220, 60%, 80%)
CMYKcmyk(60.3%, 39.7%, 0%, 20%)
CIE-LABlab(52.14, 10.32, -46.39)
CIE-LCHlch(52.14, 47.52, 282.54°)
OKLaboklab(59.07% -0.0177 -0.1318)
OKLCHoklch(59.07% 0.133 262.4)
XYZxyz(21.3716, 20.2730, 59.9019)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BCC #CCA251
analogous
#51B9CC #517BCC #6451CC
triadic
#517BCC #CC517B #7BCC51
tetradic
#517BCC #CC51B9 #CCA251 #51CC64
square
#517BCC #CC51B9 #CCA251 #51CC64
split-complementary
#517BCC #CC6451 #B9CC51
monochromatic
#25437E #335DAD #517BCC #809FDA #B0C3E8

Accessibility & contrast

On white

4.15
#517BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#517BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BCC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BCC#FFFFFF#000000##000000
##517BCC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CF
Deuteranopia (green-blind)
#4777CA
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #517bcc;
/* rgb */ color: rgb(81, 123, 204);
/* oklch */ color: oklch(59.1% 0.133 262.4);
Tailwind
colors: {
  custom: {
    50: '#8ca0dc',
    500: '#517bcc',
    950: '#000000',
  },
}
SCSS
$custom: #517bcc;
$custom-light: #8ca0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#517bcc",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 204
  },
  "hsl": {
    "h": 219.512,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59074,
    "c": 0.13301,
    "h": 262.4
  },
  "luminance": 0.20275
}

Semantic roles & 50–950 ramp

primary
#517BCC
secondary
#D6C4A3
accent
#AB4ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #517BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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