#517FCB#517FCB
#517FCB is a mid, vivid blue. Relative luminance 0.212; OKLCH L 59.9% C 0.127 H 260.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #517FCB |
|---|---|
| RGB | rgb(81, 127, 203) |
| HSL | hsl(217, 54%, 56%) |
| HSV | hsv(217, 60%, 80%) |
| CMYK | cmyk(60.1%, 37.4%, 0%, 20.4%) |
| CIE-LAB | lab(53.21, 7.55, -44.13) |
| CIE-LCH | lch(53.21, 44.77, 279.71°) |
| OKLab | oklab(59.88% -0.0222 -0.1252) |
| OKLCH | oklch(59.88% 0.127 260) |
| XYZ | xyz(21.7584, 21.2380, 59.4410) |
| Luminance | 0.2124 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Off Blue
#5684AE
ΔE00 4.50
Windows Blue
#3778BF
ΔE00 4.61
Cool Blue
#4984B8
ΔE00 4.65
Faded Blue
#658CBB
ΔE00 5.00
Dusty Blue
#5A86AD
ΔE00 5.02
Dodger Blue
#3E82FC
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#517FCB #CB9D51
analogous
#51BCCB #517FCB #6051CB
triadic
#517FCB #CB517F #7FCB51
tetradic
#517FCB #CB51BC #CB9D51 #51CB60
square
#517FCB #CB51BC #CB9D51 #51CB60
split-complementary
#517FCB #CB6051 #BCCB51
monochromatic
#25467C #3361AC #517FCB #80A2D9 #AFC4E7
Accessibility & contrast
On white
4.00
#517FCB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#517FCB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #517FCB
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##517FCB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##517FCB | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F85CE
Deuteranopia (green-blind)
#4E7AC9
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #517fcb; /* rgb */ color: rgb(81, 127, 203); /* oklch */ color: oklch(59.9% 0.127 260.0);
Tailwind
colors: {
custom: {
50: '#8ca3db',
500: '#517fcb',
950: '#000000',
},
}SCSS
$custom: #517fcb; $custom-light: #8ca3db; $custom-dark: #000000;
JSON
{
"hex": "#517fcb",
"rgb": {
"r": 81,
"g": 127,
"b": 203
},
"hsl": {
"h": 217.377,
"s": 53.982,
"l": 55.686
},
"oklch": {
"l": 0.59882,
"c": 0.12713,
"h": 260
},
"luminance": 0.2124
}Semantic roles & 50–950 ramp
primary
#517FCB
secondary
#D5C2A3
accent
#A64ADD
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83