#516CC2#516CC2
#516CC2 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.3% C 0.137 H 268.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #516CC2 |
|---|---|
| RGB | rgb(81, 108, 194) |
| HSL | hsl(226, 48%, 54%) |
| HSV | hsv(226, 58%, 76%) |
| CMYK | cmyk(58.2%, 44.3%, 0%, 23.9%) |
| CIE-LAB | lab(47.45, 16.21, -48.13) |
| CIE-LCH | lch(47.45, 50.79, 288.61°) |
| OKLab | oklab(55.28% -0.0035 -0.1371) |
| OKLCH | oklch(55.28% 0.137 268.5) |
| XYZ | xyz(18.4902, 16.3680, 53.2134) |
| Luminance | 0.1637 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.09
Royal Blue
#4169E1
ΔE00 4.06
French Blue
#436BAD
ΔE00 4.06
Medium Blue
#2C6FBB
ΔE00 6.52
Cerulean Blue
#056EEE
ΔE00 6.57
Cadet Blue
#4E7496
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516CC2 #C2A751
analogous
#51A5C2 #516CC2 #6F51C2
triadic
#516CC2 #C2516C #6CC251
tetradic
#516CC2 #C251A5 #C2A751 #51C26F
square
#516CC2 #C251A5 #C2A751 #51C26F
split-complementary
#516CC2 #C26F51 #A5C251
monochromatic
#283971 #37509E #516CC2 #7E92D2 #ACB9E2
Accessibility & contrast
On white
4.91
#516CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#516CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516CC2
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516CC2 | 1.00 | 4.91 | 4.27 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4576C5
Deuteranopia (green-blind)
#366CC0
Tritanopia (blue-blind)
#007F8D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #516cc2; /* rgb */ color: rgb(81, 108, 194); /* oklch */ color: oklch(55.3% 0.137 268.5);
Tailwind
colors: {
custom: {
50: '#8b95d5',
500: '#516cc2',
950: '#000000',
},
}SCSS
$custom: #516cc2; $custom-light: #8b95d5; $custom-dark: #000000;
JSON
{
"hex": "#516cc2",
"rgb": {
"r": 81,
"g": 108,
"b": 194
},
"hsl": {
"h": 225.664,
"s": 48.085,
"l": 53.922
},
"oklch": {
"l": 0.55282,
"c": 0.13716,
"h": 268.5
},
"luminance": 0.16369
}Semantic roles & 50–950 ramp
primary
#516CC2
secondary
#D0C49F
accent
#B750D8
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0D0D14
muted
#7D7E83