#516EC1#516EC1
#516EC1 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.6% C 0.133 H 267.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #516EC1 |
|---|---|
| RGB | rgb(81, 110, 193) |
| HSL | hsl(224, 47%, 54%) |
| HSV | hsv(224, 58%, 76%) |
| CMYK | cmyk(58%, 43%, 0%, 24.3%) |
| CIE-LAB | lab(47.94, 14.63, -46.78) |
| CIE-LCH | lch(47.94, 49.01, 287.36°) |
| OKLab | oklab(55.64% -0.0059 -0.1331) |
| OKLCH | oklch(55.64% 0.133 267.5) |
| XYZ | xyz(18.5917, 16.7500, 52.6951) |
| Luminance | 0.1675 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.96
French Blue
#436BAD
ΔE00 3.88
Royal Blue
#4169E1
ΔE00 4.29
Medium Blue
#2C6FBB
ΔE00 6.11
Cerulean Blue
#056EEE
ΔE00 6.35
Cadet Blue
#4E7496
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516EC1 #C1A451
analogous
#51A6C1 #516EC1 #6C51C1
triadic
#516EC1 #C1516E #6EC151
tetradic
#516EC1 #C151A6 #C1A451 #51C16C
square
#516EC1 #C151A6 #C1A451 #51C16C
split-complementary
#516EC1 #C16C51 #A6C151
monochromatic
#283A70 #38529D #516EC1 #7E94D1 #ABB9E1
Accessibility & contrast
On white
4.83
#516EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#516EC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516EC1
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516EC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516EC1 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4977C4
Deuteranopia (green-blind)
#3A6DBF
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #516ec1; /* rgb */ color: rgb(81, 110, 193); /* oklch */ color: oklch(55.6% 0.133 267.5);
Tailwind
colors: {
custom: {
50: '#8b97d4',
500: '#516ec1',
950: '#000000',
},
}SCSS
$custom: #516ec1; $custom-light: #8b97d4; $custom-dark: #000000;
JSON
{
"hex": "#516ec1",
"rgb": {
"r": 81,
"g": 110,
"b": 193
},
"hsl": {
"h": 224.464,
"s": 47.458,
"l": 53.725
},
"oklch": {
"l": 0.55639,
"c": 0.13324,
"h": 267.5
},
"luminance": 0.16751
}Semantic roles & 50–950 ramp
primary
#516EC1
secondary
#CFC29F
accent
#B451D7
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0D14
muted
#7D7E83