#517FCC#517FCC
#517FCC is a mid, vivid blue. Relative luminance 0.213; OKLCH L 59.9% C 0.128 H 260.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #517FCC |
|---|---|
| RGB | rgb(81, 127, 204) |
| HSL | hsl(218, 55%, 56%) |
| HSV | hsv(218, 60%, 80%) |
| CMYK | cmyk(60.3%, 37.7%, 0%, 20%) |
| CIE-LAB | lab(53.26, 7.89, -44.62) |
| CIE-LCH | lch(53.26, 45.31, 280.03°) |
| OKLab | oklab(59.94% -0.0219 -0.1266) |
| OKLCH | oklch(59.94% 0.128 260.2) |
| XYZ | xyz(21.8780, 21.2858, 60.0707) |
| Luminance | 0.2129 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Off Blue
#5684AE
ΔE00 4.57
Windows Blue
#3778BF
ΔE00 4.69
Cool Blue
#4984B8
ΔE00 4.73
Dodger Blue
#3E82FC
ΔE00 4.93
Clear Blue
#247AFD
ΔE00 4.97
Faded Blue
#658CBB
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#517FCC #CC9E51
analogous
#51BCCC #517FCC #6051CC
triadic
#517FCC #CC517F #7FCC51
tetradic
#517FCC #CC51BC #CC9E51 #51CC60
square
#517FCC #CC51BC #CC9E51 #51CC60
split-complementary
#517FCC #CC6051 #BCCC51
monochromatic
#25467E #3360AD #517FCC #80A2DA #B0C5E8
Accessibility & contrast
On white
3.99
#517FCC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#517FCC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #517FCC
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##517FCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##517FCC | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E85CF
Deuteranopia (green-blind)
#4E7ACA
Tritanopia (blue-blind)
#00909C
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #517fcc; /* rgb */ color: rgb(81, 127, 204); /* oklch */ color: oklch(59.9% 0.128 260.2);
Tailwind
colors: {
custom: {
50: '#8ca3dc',
500: '#517fcc',
950: '#000000',
},
}SCSS
$custom: #517fcc; $custom-light: #8ca3dc; $custom-dark: #000000;
JSON
{
"hex": "#517fcc",
"rgb": {
"r": 81,
"g": 127,
"b": 204
},
"hsl": {
"h": 217.561,
"s": 54.667,
"l": 55.882
},
"oklch": {
"l": 0.59939,
"c": 0.12849,
"h": 260.2
},
"luminance": 0.21288
}Semantic roles & 50–950 ramp
primary
#517FCC
secondary
#D6C3A3
accent
#A74ADE
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83