#516BB6#516BB6
#516BB6 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.3% C 0.121 H 267.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #516BB6 |
|---|---|
| RGB | rgb(81, 107, 182) |
| HSL | hsl(225, 41%, 52%) |
| HSV | hsv(225, 55%, 71%) |
| CMYK | cmyk(55.5%, 41.2%, 0%, 28.6%) |
| CIE-LAB | lab(46.50, 12.82, -42.71) |
| CIE-LCH | lch(46.50, 44.59, 286.71°) |
| OKLab | oklab(54.33% -0.0046 -0.1212) |
| OKLCH | oklch(54.33% 0.121 267.8) |
| XYZ | xyz(17.0917, 15.6408, 46.3652) |
| Luminance | 0.1564 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 3.20
Cornflower Blue
#5170D7
ΔE00 4.69
Royal Blue
#4169E1
ΔE00 5.50
Dusky Blue
#475F94
ΔE00 6.14
Medium Blue
#2C6FBB
ΔE00 6.40
Mid Blue
#276AB3
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516BB6 #B69C51
analogous
#519EB6 #516BB6 #6A51B6
triadic
#516BB6 #B6516B #6BB651
tetradic
#516BB6 #B6519E #B69C51 #51B66A
square
#516BB6 #B6519E #B69C51 #51B66A
split-complementary
#516BB6 #B66A51 #9EB651
monochromatic
#2A3863 #3C518E #516BB6 #7C90C8 #A7B4DA
Accessibility & contrast
On white
5.09
#516BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#516BB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516BB6
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516BB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516BB6 | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C73B9
Deuteranopia (green-blind)
#3F6AB4
Tritanopia (blue-blind)
#177B87
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #516bb6; /* rgb */ color: rgb(81, 107, 182); /* oklch */ color: oklch(54.3% 0.121 267.8);
Tailwind
colors: {
custom: {
50: '#8995cc',
500: '#516bb6',
950: '#000000',
},
}SCSS
$custom: #516bb6; $custom-light: #8995cc; $custom-dark: #000000;
JSON
{
"hex": "#516bb6",
"rgb": {
"r": 81,
"g": 107,
"b": 182
},
"hsl": {
"h": 224.554,
"s": 40.891,
"l": 51.569
},
"oklch": {
"l": 0.54329,
"c": 0.12131,
"h": 267.8
},
"luminance": 0.15642
}Semantic roles & 50–950 ramp
primary
#516BB6
secondary
#C8BC9B
accent
#B157D1
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D13
muted
#7D7E82