#516FB6#516FB6
#516FB6 is a mid, moderate blue. Relative luminance 0.165; OKLCH L 55.2% C 0.116 H 265.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #516FB6 |
|---|---|
| RGB | rgb(81, 111, 182) |
| HSL | hsl(222, 41%, 52%) |
| HSV | hsv(222, 55%, 71%) |
| CMYK | cmyk(55.5%, 39%, 0%, 28.6%) |
| CIE-LAB | lab(47.62, 10.34, -40.94) |
| CIE-LCH | lch(47.62, 42.22, 284.17°) |
| OKLab | oklab(55.19% -0.0092 -0.116) |
| OKLCH | oklch(55.19% 0.116 265.5) |
| XYZ | xyz(17.5184, 16.4943, 46.5075) |
| Luminance | 0.1650 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.99
Cornflower Blue
#5170D7
ΔE00 4.29
Medium Blue
#2C6FBB
ΔE00 5.57
Royal Blue
#4169E1
ΔE00 5.58
Flat Blue
#3C73A8
ΔE00 5.83
Dull Blue
#49759C
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516FB6 #B69851
analogous
#51A2B6 #516FB6 #6651B6
triadic
#516FB6 #B6516F #6FB651
tetradic
#516FB6 #B651A2 #B69851 #51B666
square
#516FB6 #B651A2 #B69851 #51B666
split-complementary
#516FB6 #B66651 #A2B651
monochromatic
#2A3B63 #3C548E #516FB6 #7C93C8 #A7B6DA
Accessibility & contrast
On white
4.88
#516FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#516FB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516FB6
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516FB6 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5276B9
Deuteranopia (green-blind)
#466DB4
Tritanopia (blue-blind)
#157F8A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #516fb6; /* rgb */ color: rgb(81, 111, 182); /* oklch */ color: oklch(55.2% 0.116 265.5);
Tailwind
colors: {
custom: {
50: '#8998cc',
500: '#516fb6',
950: '#000000',
},
}SCSS
$custom: #516fb6; $custom-light: #8998cc; $custom-dark: #000000;
JSON
{
"hex": "#516fb6",
"rgb": {
"r": 81,
"g": 111,
"b": 182
},
"hsl": {
"h": 222.178,
"s": 40.891,
"l": 51.569
},
"oklch": {
"l": 0.5519,
"c": 0.11636,
"h": 265.5
},
"luminance": 0.16496
}Semantic roles & 50–950 ramp
primary
#516FB6
secondary
#C8BA9B
accent
#AD57D1
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D13
muted
#7D7E82