#516FA1#516FA1
#516FA1 is a mid, moderate blue. Relative luminance 0.157; OKLCH L 54.0% C 0.086 H 260.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #516FA1 |
|---|---|
| RGB | rgb(81, 111, 161) |
| HSL | hsl(218, 33%, 47%) |
| HSV | hsv(218, 50%, 63%) |
| CMYK | cmyk(49.7%, 31.1%, 0%, 36.9%) |
| CIE-LAB | lab(46.57, 3.54, -30.33) |
| CIE-LCH | lch(46.57, 30.53, 276.66°) |
| OKLab | oklab(54.03% -0.0146 -0.0851) |
| OKLCH | oklch(54.03% 0.086 260.3) |
| XYZ | xyz(15.5087, 15.6904, 35.9226) |
| Luminance | 0.1569 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.86
Cadet Blue
#4E7496
ΔE00 4.78
Dull Blue
#49759C
ΔE00 4.83
Flat Blue
#3C73A8
ΔE00 4.96
Muted Blue
#3B719F
ΔE00 5.37
Medium Blue
#2C6FBB
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516FA1 #A18351
analogous
#5197A1 #516FA1 #5B51A1
triadic
#516FA1 #A1516F #6FA151
tetradic
#516FA1 #A15197 #A18351 #51A15B
square
#516FA1 #A15197 #A18351 #51A15B
split-complementary
#516FA1 #A15B51 #97A151
monochromatic
#283750 #3D5378 #516FA1 #758FBA #9EB0CE
Accessibility & contrast
On white
5.07
#516FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#516FA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516FA1
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516FA1 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C72A3
Deuteranopia (green-blind)
#536BA0
Tritanopia (blue-blind)
#2E7A81
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #516fa1; /* rgb */ color: rgb(81, 111, 161); /* oklch */ color: oklch(54.0% 0.086 260.3);
Tailwind
colors: {
custom: {
50: '#8698bd',
500: '#516fa1',
950: '#000000',
},
}SCSS
$custom: #516fa1; $custom-light: #8698bd; $custom-dark: #000000;
JSON
{
"hex": "#516fa1",
"rgb": {
"r": 81,
"g": 111,
"b": 161
},
"hsl": {
"h": 217.5,
"s": 33.058,
"l": 47.451
},
"oklch": {
"l": 0.5403,
"c": 0.08635,
"h": 260.3
},
"luminance": 0.15691
}Semantic roles & 50–950 ramp
primary
#516FA1
secondary
#BBAC93
accent
#A15FC9
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0B0D12
muted
#7C7E81