#516CBA#516CBA
#516CBA is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.8% C 0.126 H 267.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #516CBA |
|---|---|
| RGB | rgb(81, 108, 186) |
| HSL | hsl(225, 43%, 52%) |
| HSV | hsv(225, 56%, 73%) |
| CMYK | cmyk(56.5%, 41.9%, 0%, 27.1%) |
| CIE-LAB | lab(47.00, 13.53, -44.24) |
| CIE-LCH | lch(47.00, 46.26, 287.01°) |
| OKLab | oklab(54.79% -0.005 -0.1257) |
| OKLCH | oklch(54.79% 0.126 267.7) |
| XYZ | xyz(17.6159, 16.0183, 48.6084) |
| Luminance | 0.1602 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 3.36
Cornflower Blue
#5170D7
ΔE00 4.06
Royal Blue
#4169E1
ΔE00 5.01
Medium Blue
#2C6FBB
ΔE00 6.25
Cadet Blue
#4E7496
ΔE00 6.53
Mid Blue
#276AB3
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516CBA #BA9F51
analogous
#51A1BA #516CBA #6A51BA
triadic
#516CBA #BA516C #6CBA51
tetradic
#516CBA #BA51A1 #BA9F51 #51BA6A
square
#516CBA #BA51A1 #BA9F51 #51BA6A
split-complementary
#516CBA #BA6A51 #A1BA51
monochromatic
#293968 #3A5193 #516CBA #7D91CB #A9B6DD
Accessibility & contrast
On white
5.00
#516CBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#516CBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516CBA
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516CBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516CBA | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B74BD
Deuteranopia (green-blind)
#3D6BB8
Tritanopia (blue-blind)
#0D7D8A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #516cba; /* rgb */ color: rgb(81, 108, 186); /* oklch */ color: oklch(54.8% 0.126 267.7);
Tailwind
colors: {
custom: {
50: '#8a95cf',
500: '#516cba',
950: '#000000',
},
}SCSS
$custom: #516cba; $custom-light: #8a95cf; $custom-dark: #000000;
JSON
{
"hex": "#516cba",
"rgb": {
"r": 81,
"g": 108,
"b": 186
},
"hsl": {
"h": 224.571,
"s": 43.21,
"l": 52.353
},
"oklch": {
"l": 0.54785,
"c": 0.12579,
"h": 267.7
},
"luminance": 0.1602
}Semantic roles & 50–950 ramp
primary
#516CBA
secondary
#CABF9D
accent
#B355D3
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82