#516CB7#516CB7
#516CB7 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.6% C 0.121 H 267.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #516CB7 |
|---|---|
| RGB | rgb(81, 108, 183) |
| HSL | hsl(224, 41%, 52%) |
| HSV | hsv(224, 56%, 72%) |
| CMYK | cmyk(55.7%, 41%, 0%, 28.2%) |
| CIE-LAB | lab(46.83, 12.53, -42.76) |
| CIE-LCH | lch(46.83, 44.56, 286.33°) |
| OKLab | oklab(54.6% -0.0055 -0.1214) |
| OKLCH | oklch(54.6% 0.121 267.4) |
| XYZ | xyz(17.3003, 15.8921, 46.9464) |
| Luminance | 0.1589 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 3.14
Cornflower Blue
#5170D7
ΔE00 4.43
Royal Blue
#4169E1
ΔE00 5.37
Medium Blue
#2C6FBB
ΔE00 6.19
Cadet Blue
#4E7496
ΔE00 6.43
Dusky Blue
#475F94
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516CB7 #B79C51
analogous
#519FB7 #516CB7 #6951B7
triadic
#516CB7 #B7516C #6CB751
tetradic
#516CB7 #B7519F #B79C51 #51B769
square
#516CB7 #B7519F #B79C51 #51B769
split-complementary
#516CB7 #B76951 #9FB751
monochromatic
#293964 #3B528F #516CB7 #7C91C9 #A8B5DB
Accessibility & contrast
On white
5.03
#516CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#516CB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516CB7
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516CB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516CB7 | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D74BA
Deuteranopia (green-blind)
#406BB5
Tritanopia (blue-blind)
#147C88
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #516cb7; /* rgb */ color: rgb(81, 108, 183); /* oklch */ color: oklch(54.6% 0.121 267.4);
Tailwind
colors: {
custom: {
50: '#8995cd',
500: '#516cb7',
950: '#000000',
},
}SCSS
$custom: #516cb7; $custom-light: #8995cd; $custom-dark: #000000;
JSON
{
"hex": "#516cb7",
"rgb": {
"r": 81,
"g": 108,
"b": 183
},
"hsl": {
"h": 224.118,
"s": 41.463,
"l": 51.765
},
"oklch": {
"l": 0.54603,
"c": 0.12149,
"h": 267.4
},
"luminance": 0.15893
}Semantic roles & 50–950 ramp
primary
#516CB7
secondary
#C8BC9C
accent
#B157D1
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D13
muted
#7D7E82