#517CCE#517CCE

#517CCE is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.4% C 0.135 H 262.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#517CCE
RGBrgb(81, 124, 206)
HSLhsl(219, 56%, 56%)
HSVhsv(219, 61%, 81%)
CMYKcmyk(60.7%, 39.8%, 0%, 19.2%)
CIE-LABlab(52.53, 10.38, -46.91)
CIE-LCHlch(52.53, 48.05, 282.48°)
OKLaboklab(59.41% -0.0183 -0.1333)
OKLCHoklch(59.41% 0.135 262.2)
XYZxyz(21.7377, 20.6190, 61.2149)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CCE #CEA351
analogous
#51BBCE #517CCE #6551CE
triadic
#517CCE #CE517C #7CCE51
tetradic
#517CCE #CE51BB #CEA351 #51CE65
square
#517CCE #CE51BB #CEA351 #51CE65
split-complementary
#517CCE #CE6551 #BBCE51
monochromatic
#244480 #325DB0 #517CCE #81A0DB #B1C4E9

Accessibility & contrast

On white

4.10
#517CCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#517CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CCE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CCE#FFFFFF#000000##000000
##517CCE1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5884D1
Deuteranopia (green-blind)
#4778CC
Tritanopia (blue-blind)
#008E9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #517cce;
/* rgb */ color: rgb(81, 124, 206);
/* oklch */ color: oklch(59.4% 0.135 262.2);
Tailwind
colors: {
  custom: {
    50: '#8ca1dd',
    500: '#517cce',
    950: '#000000',
  },
}
SCSS
$custom: #517cce;
$custom-light: #8ca1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#517cce",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 206
  },
  "hsl": {
    "h": 219.36,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59407,
    "c": 0.1346,
    "h": 262.2
  },
  "luminance": 0.20621
}

Semantic roles & 50–950 ramp

primary
#517CCE
secondary
#D7C5A4
accent
#AB48DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #517CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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