#516AC8#516AC8
#516AC8 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.3% C 0.148 H 269.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #516AC8 |
|---|---|
| RGB | rgb(81, 106, 200) |
| HSL | hsl(227, 52%, 55%) |
| HSV | hsv(227, 60%, 78%) |
| CMYK | cmyk(59.5%, 47%, 0%, 21.6%) |
| CIE-LAB | lab(47.27, 19.48, -51.88) |
| CIE-LCH | lch(47.27, 55.42, 290.58°) |
| OKLab | oklab(55.26% -0.0005 -0.1481) |
| OKLCH | oklch(55.26% 0.148 269.8) |
| XYZ | xyz(18.9692, 16.2260, 56.7647) |
| Luminance | 0.1623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.90
Royal Blue
#4169E1
ΔE00 3.36
French Blue
#436BAD
ΔE00 4.85
Dark Periwinkle
#665FD1
ΔE00 6.29
Azul
#1D5DEC
ΔE00 6.32
Cerulean Blue
#056EEE
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516AC8 #C8AF51
analogous
#51A5C8 #516AC8 #7351C8
triadic
#516AC8 #C8516A #6AC851
tetradic
#516AC8 #C851A5 #C8AF51 #51C873
square
#516AC8 #C851A5 #C8AF51 #51C873
split-complementary
#516AC8 #C87351 #A5C851
monochromatic
#263779 #354DA7 #516AC8 #8092D7 #AEBAE5
Accessibility & contrast
On white
4.95
#516AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#516AC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516AC8
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516AC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516AC8 | 1.00 | 4.95 | 4.25 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C76CB
Deuteranopia (green-blind)
#296BC6
Tritanopia (blue-blind)
#007F8F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #516ac8; /* rgb */ color: rgb(81, 106, 200); /* oklch */ color: oklch(55.3% 0.148 269.8);
Tailwind
colors: {
custom: {
50: '#8c94d9',
500: '#516ac8',
950: '#000000',
},
}SCSS
$custom: #516ac8; $custom-light: #8c94d9; $custom-dark: #000000;
JSON
{
"hex": "#516ac8",
"rgb": {
"r": 81,
"g": 106,
"b": 200
},
"hsl": {
"h": 227.395,
"s": 51.965,
"l": 55.098
},
"oklch": {
"l": 0.55256,
"c": 0.14815,
"h": 269.8
},
"luminance": 0.16228
}Semantic roles & 50–950 ramp
primary
#516AC8
secondary
#D3C9A1
accent
#BD4CDB
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D15
muted
#7E7E83