#516CB8#516CB8
#516CB8 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.7% C 0.123 H 267.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #516CB8 |
|---|---|
| RGB | rgb(81, 108, 184) |
| HSL | hsl(224, 42%, 52%) |
| HSV | hsv(224, 56%, 72%) |
| CMYK | cmyk(56%, 41.3%, 0%, 27.8%) |
| CIE-LAB | lab(46.89, 12.86, -43.25) |
| CIE-LCH | lch(46.89, 45.13, 286.56°) |
| OKLab | oklab(54.66% -0.0053 -0.1228) |
| OKLCH | oklch(54.66% 0.123 267.5) |
| XYZ | xyz(17.4047, 15.9338, 47.4965) |
| Luminance | 0.1593 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 3.21
Cornflower Blue
#5170D7
ΔE00 4.31
Royal Blue
#4169E1
ΔE00 5.25
Medium Blue
#2C6FBB
ΔE00 6.21
Cadet Blue
#4E7496
ΔE00 6.46
Mid Blue
#276AB3
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516CB8 #B89D51
analogous
#51A0B8 #516CB8 #6A51B8
triadic
#516CB8 #B8516C #6CB851
tetradic
#516CB8 #B851A0 #B89D51 #51B86A
square
#516CB8 #B851A0 #B89D51 #51B86A
split-complementary
#516CB8 #B86A51 #A0B851
monochromatic
#293965 #3B5291 #516CB8 #7C91CA #A8B5DB
Accessibility & contrast
On white
5.02
#516CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#516CB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516CB8
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516CB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516CB8 | 1.00 | 5.02 | 4.19 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C74BB
Deuteranopia (green-blind)
#3F6BB6
Tritanopia (blue-blind)
#127D89
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #516cb8; /* rgb */ color: rgb(81, 108, 184); /* oklch */ color: oklch(54.7% 0.123 267.5);
Tailwind
colors: {
custom: {
50: '#8995ce',
500: '#516cb8',
950: '#000000',
},
}SCSS
$custom: #516cb8; $custom-light: #8995ce; $custom-dark: #000000;
JSON
{
"hex": "#516cb8",
"rgb": {
"r": 81,
"g": 108,
"b": 184
},
"hsl": {
"h": 224.272,
"s": 42.041,
"l": 51.961
},
"oklch": {
"l": 0.54664,
"c": 0.12293,
"h": 267.5
},
"luminance": 0.15935
}Semantic roles & 50–950 ramp
primary
#516CB8
secondary
#C9BD9C
accent
#B156D2
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D13
muted
#7D7E82