#516CBD#516CBD
#516CBD is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.0% C 0.130 H 268.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #516CBD |
|---|---|
| RGB | rgb(81, 108, 189) |
| HSL | hsl(225, 45%, 53%) |
| HSV | hsv(225, 57%, 74%) |
| CMYK | cmyk(57.1%, 42.9%, 0%, 25.9%) |
| CIE-LAB | lab(47.17, 14.53, -45.71) |
| CIE-LCH | lch(47.17, 47.96, 287.64°) |
| OKLab | oklab(54.97% -0.0044 -0.13) |
| OKLCH | oklch(54.97% 0.13 268.1) |
| XYZ | xyz(17.9381, 16.1472, 50.3057) |
| Luminance | 0.1615 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 3.60
Cornflower Blue
#5170D7
ΔE00 3.69
Royal Blue
#4169E1
ΔE00 4.65
Medium Blue
#2C6FBB
ΔE00 6.33
Cadet Blue
#4E7496
ΔE00 6.64
Mid Blue
#276AB3
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516CBD #BDA251
analogous
#51A2BD #516CBD #6C51BD
triadic
#516CBD #BD516C #6CBD51
tetradic
#516CBD #BD51A2 #BDA251 #51BD6C
square
#516CBD #BD51A2 #BDA251 #51BD6C
split-complementary
#516CBD #BD6C51 #A2BD51
monochromatic
#29396B #395197 #516CBD #7D91CE #AAB7DF
Accessibility & contrast
On white
4.96
#516CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#516CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516CBD
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516CBD | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4975C0
Deuteranopia (green-blind)
#3B6BBB
Tritanopia (blue-blind)
#037E8B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #516cbd; /* rgb */ color: rgb(81, 108, 189); /* oklch */ color: oklch(55.0% 0.130 268.1);
Tailwind
colors: {
custom: {
50: '#8a95d1',
500: '#516cbd',
950: '#000000',
},
}SCSS
$custom: #516cbd; $custom-light: #8a95d1; $custom-dark: #000000;
JSON
{
"hex": "#516cbd",
"rgb": {
"r": 81,
"g": 108,
"b": 189
},
"hsl": {
"h": 225,
"s": 45,
"l": 52.941
},
"oklch": {
"l": 0.54969,
"c": 0.13006,
"h": 268.1
},
"luminance": 0.16149
}Semantic roles & 50–950 ramp
primary
#516CBD
secondary
#CCC19E
accent
#B453D5
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82