#516BB7#516BB7
#516BB7 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.4% C 0.123 H 268.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #516BB7 |
|---|---|
| RGB | rgb(81, 107, 183) |
| HSL | hsl(225, 41%, 52%) |
| HSV | hsv(225, 56%, 72%) |
| CMYK | cmyk(55.7%, 41.5%, 0%, 28.2%) |
| CIE-LAB | lab(46.55, 13.16, -43.20) |
| CIE-LCH | lch(46.55, 45.16, 286.94°) |
| OKLab | oklab(54.39% -0.0044 -0.1227) |
| OKLCH | oklch(54.39% 0.123 268) |
| XYZ | xyz(17.1954, 15.6823, 46.9114) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 3.26
Cornflower Blue
#5170D7
ΔE00 4.57
Royal Blue
#4169E1
ΔE00 5.38
Dusky Blue
#475F94
ΔE00 6.24
Medium Blue
#2C6FBB
ΔE00 6.42
Mid Blue
#276AB3
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516BB7 #B79D51
analogous
#519EB7 #516BB7 #6A51B7
triadic
#516BB7 #B7516B #6BB751
tetradic
#516BB7 #B7519E #B79D51 #51B76A
square
#516BB7 #B7519E #B79D51 #51B76A
split-complementary
#516BB7 #B76A51 #9EB751
monochromatic
#293864 #3B518F #516BB7 #7C90C9 #A8B5DB
Accessibility & contrast
On white
5.08
#516BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#516BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516BB7
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516BB7 | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B73BA
Deuteranopia (green-blind)
#3E6AB5
Tritanopia (blue-blind)
#157C88
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #516bb7; /* rgb */ color: rgb(81, 107, 183); /* oklch */ color: oklch(54.4% 0.123 268.0);
Tailwind
colors: {
custom: {
50: '#8995cd',
500: '#516bb7',
950: '#000000',
},
}SCSS
$custom: #516bb7; $custom-light: #8995cd; $custom-dark: #000000;
JSON
{
"hex": "#516bb7",
"rgb": {
"r": 81,
"g": 107,
"b": 183
},
"hsl": {
"h": 224.706,
"s": 41.463,
"l": 51.765
},
"oklch": {
"l": 0.5439,
"c": 0.12275,
"h": 268
},
"luminance": 0.15684
}Semantic roles & 50–950 ramp
primary
#516BB7
secondary
#C8BD9C
accent
#B257D1
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D13
muted
#7D7E82