#516DC2#516DC2
#516DC2 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.5% C 0.136 H 268.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #516DC2 |
|---|---|
| RGB | rgb(81, 109, 194) |
| HSL | hsl(225, 48%, 54%) |
| HSV | hsv(225, 58%, 76%) |
| CMYK | cmyk(58.2%, 43.8%, 0%, 23.9%) |
| CIE-LAB | lab(47.73, 15.58, -47.70) |
| CIE-LCH | lch(47.73, 50.18, 288.09°) |
| OKLab | oklab(55.49% -0.0046 -0.1358) |
| OKLCH | oklch(55.49% 0.136 268.1) |
| XYZ | xyz(18.5963, 16.5802, 53.2488) |
| Luminance | 0.1658 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.94
French Blue
#436BAD
ΔE00 4.00
Royal Blue
#4169E1
ΔE00 4.10
Medium Blue
#2C6FBB
ΔE00 6.33
Cerulean Blue
#056EEE
ΔE00 6.42
Cadet Blue
#4E7496
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516DC2 #C2A651
analogous
#51A6C2 #516DC2 #6E51C2
triadic
#516DC2 #C2516D #6DC251
tetradic
#516DC2 #C251A6 #C2A651 #51C26E
square
#516DC2 #C251A6 #C2A651 #51C26E
split-complementary
#516DC2 #C26E51 #A6C251
monochromatic
#283A71 #37519E #516DC2 #7E93D2 #ACB9E2
Accessibility & contrast
On white
4.87
#516DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#516DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516DC2
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516DC2 | 1.00 | 4.87 | 4.32 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4777C5
Deuteranopia (green-blind)
#376DC0
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #516dc2; /* rgb */ color: rgb(81, 109, 194); /* oklch */ color: oklch(55.5% 0.136 268.1);
Tailwind
colors: {
custom: {
50: '#8b96d5',
500: '#516dc2',
950: '#000000',
},
}SCSS
$custom: #516dc2; $custom-light: #8b96d5; $custom-dark: #000000;
JSON
{
"hex": "#516dc2",
"rgb": {
"r": 81,
"g": 109,
"b": 194
},
"hsl": {
"h": 225.133,
"s": 48.085,
"l": 53.922
},
"oklch": {
"l": 0.55491,
"c": 0.13591,
"h": 268.1
},
"luminance": 0.16582
}Semantic roles & 50–950 ramp
primary
#516DC2
secondary
#D0C49F
accent
#B650D8
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0D0D14
muted
#7D7E83