#517FB2#517FB2
#517FB2 is a mid, moderate cyan. Relative luminance 0.201; OKLCH L 58.5% C 0.094 H 252.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #517FB2 |
|---|---|
| RGB | rgb(81, 127, 178) |
| HSL | hsl(212, 39%, 51%) |
| HSV | hsv(212, 54%, 70%) |
| CMYK | cmyk(54.5%, 28.7%, 0%, 30.2%) |
| CIE-LAB | lab(52.00, -0.65, -31.74) |
| CIE-LCH | lch(52.00, 31.74, 268.82°) |
| OKLab | oklab(58.54% -0.0289 -0.0891) |
| OKLCH | oklch(58.54% 0.094 252) |
| XYZ | xyz(19.0158, 20.1409, 44.9964) |
| Luminance | 0.2014 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Off Blue
#5684AE
ΔE00 2.41
Steel Blue
#4682B4
ΔE00 2.74
Cool Blue
#4984B8
ΔE00 2.75
Dusty Blue
#5A86AD
ΔE00 3.30
Windows Blue
#3778BF
ΔE00 3.61
Stormy Blue
#507B9C
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#517FB2 #B28451
analogous
#51AFB2 #517FB2 #5351B2
triadic
#517FB2 #B2517F #7FB251
tetradic
#517FB2 #B251AF #B28451 #51B253
square
#517FB2 #B251AF #B28451 #51B253
split-complementary
#517FB2 #B25351 #AFB251
monochromatic
#2A435F #3D6189 #517FB2 #7B9EC5 #A6BDD8
Accessibility & contrast
On white
4.18
#517FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#517FB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #517FB2
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##517FB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##517FB2 | 1.00 | 4.18 | 5.03 | 5.03 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A81B4
Deuteranopia (green-blind)
#5E78B1
Tritanopia (blue-blind)
#158B91
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #517fb2; /* rgb */ color: rgb(81, 127, 178); /* oklch */ color: oklch(58.5% 0.094 252.0);
Tailwind
colors: {
custom: {
50: '#88a3c9',
500: '#517fb2',
950: '#000000',
},
}SCSS
$custom: #517fb2; $custom-light: #88a3c9; $custom-dark: #000000;
JSON
{
"hex": "#517fb2",
"rgb": {
"r": 81,
"g": 127,
"b": 178
},
"hsl": {
"h": 211.546,
"s": 38.645,
"l": 50.784
},
"oklch": {
"l": 0.58538,
"c": 0.0937,
"h": 252
},
"luminance": 0.20142
}Semantic roles & 50–950 ramp
primary
#517FB2
secondary
#C5B19A
accent
#9759CF
background
#F8FAFC
surface
#F0F3F8
border
#CBCDD1
text
#0C0F13
muted
#7D7F82