#517BCF#517BCF

#517BCF is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.3% C 0.137 H 262.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#517BCF
RGBrgb(81, 123, 207)
HSLhsl(220, 57%, 56%)
HSVhsv(220, 61%, 81%)
CMYKcmyk(60.9%, 40.6%, 0%, 18.8%)
CIE-LABlab(52.31, 11.33, -47.84)
CIE-LCHlch(52.31, 49.16, 283.33°)
OKLaboklab(59.25% -0.0171 -0.1361)
OKLCHoklch(59.25% 0.137 262.9)
XYZxyz(21.7349, 20.4183, 61.8151)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BCF #CFA551
analogous
#51BACF #517BCF #6651CF
triadic
#517BCF #CF517B #7BCF51
tetradic
#517BCF #CF51BA #CFA551 #51CF66
square
#517BCF #CF51BA #CFA551 #51CF66
split-complementary
#517BCF #CF6651 #BACF51
monochromatic
#244382 #315CB2 #517BCF #819FDC #B1C4E9

Accessibility & contrast

On white

4.13
#517BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#517BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BCF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BCF#FFFFFF#000000##000000
##517BCF1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5683D2
Deuteranopia (green-blind)
#4477CD
Tritanopia (blue-blind)
#008E9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #517bcf;
/* rgb */ color: rgb(81, 123, 207);
/* oklch */ color: oklch(59.3% 0.137 262.9);
Tailwind
colors: {
  custom: {
    50: '#8ca0de',
    500: '#517bcf',
    950: '#000000',
  },
}
SCSS
$custom: #517bcf;
$custom-light: #8ca0de;
$custom-dark: #000000;
JSON
{
  "hex": "#517bcf",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 207
  },
  "hsl": {
    "h": 220,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59253,
    "c": 0.13714,
    "h": 262.9
  },
  "luminance": 0.2042
}

Semantic roles & 50–950 ramp

primary
#517BCF
secondary
#D8C7A4
accent
#AD48E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #517BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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