#516CC6#516CC6
#516CC6 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.5% C 0.143 H 268.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #516CC6 |
|---|---|
| RGB | rgb(81, 108, 198) |
| HSL | hsl(226, 51%, 55%) |
| HSV | hsv(226, 59%, 78%) |
| CMYK | cmyk(59.1%, 45.5%, 0%, 22.4%) |
| CIE-LAB | lab(47.69, 17.56, -50.06) |
| CIE-LCH | lch(47.69, 53.05, 289.33°) |
| OKLab | oklab(55.54% -0.0029 -0.1428) |
| OKLCH | oklch(55.54% 0.143 268.8) |
| XYZ | xyz(18.9455, 16.5501, 55.6113) |
| Luminance | 0.1655 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.63
Royal Blue
#4169E1
ΔE00 3.60
French Blue
#436BAD
ΔE00 4.46
Cerulean Blue
#056EEE
ΔE00 6.30
Medium Blue
#2C6FBB
ΔE00 6.70
Azul
#1D5DEC
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516CC6 #C6AB51
analogous
#51A6C6 #516CC6 #7151C6
triadic
#516CC6 #C6516C #6CC651
tetradic
#516CC6 #C651A6 #C6AB51 #51C671
square
#516CC6 #C651A6 #C6AB51 #51C671
split-complementary
#516CC6 #C67151 #A6C651
monochromatic
#273976 #364FA4 #516CC6 #7F93D5 #ADBAE4
Accessibility & contrast
On white
4.87
#516CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#516CC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516CC6
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516CC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516CC6 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4277C9
Deuteranopia (green-blind)
#316CC4
Tritanopia (blue-blind)
#00808F
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #516cc6; /* rgb */ color: rgb(81, 108, 198); /* oklch */ color: oklch(55.5% 0.143 268.8);
Tailwind
colors: {
custom: {
50: '#8b95d8',
500: '#516cc6',
950: '#000000',
},
}SCSS
$custom: #516cc6; $custom-light: #8b95d8; $custom-dark: #000000;
JSON
{
"hex": "#516cc6",
"rgb": {
"r": 81,
"g": 108,
"b": 198
},
"hsl": {
"h": 226.154,
"s": 50.649,
"l": 54.706
},
"oklch": {
"l": 0.55537,
"c": 0.14281,
"h": 268.8
},
"luminance": 0.16552
}Semantic roles & 50–950 ramp
primary
#516CC6
secondary
#D2C7A1
accent
#BA4EDA
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D14
muted
#7E7E83