#516AE4#516AE4
#516AE4 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.2% C 0.186 H 270.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #516AE4 |
|---|---|
| RGB | rgb(81, 106, 228) |
| HSL | hsl(230, 73%, 61%) |
| HSV | hsv(230, 64%, 89%) |
| CMYK | cmyk(64.5%, 53.5%, 0%, 10.6%) |
| CIE-LAB | lab(49.08, 29.01, -64.90) |
| CIE-LCH | lch(49.08, 71.09, 294.08°) |
| OKLab | oklab(57.2% 0.0022 -0.1864) |
| OKLCH | oklch(57.2% 0.186 270.7) |
| XYZ | xyz(22.5462, 17.6568, 75.6037) |
| Luminance | 0.1766 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.20
Cornflower Blue
#5170D7
ΔE00 2.76
Bright Blue
#0165FC
ΔE00 4.61
Azul
#1D5DEC
ΔE00 5.37
Cerulean Blue
#056EEE
ΔE00 5.83
Dark Periwinkle
#665FD1
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516AE4 #E4CB51
analogous
#51B3E4 #516AE4 #8151E4
triadic
#516AE4 #E4516A #6AE451
tetradic
#516AE4 #E451B3 #E4CB51 #51E481
square
#516AE4 #E451B3 #E4CB51 #51E481
split-complementary
#516AE4 #E48151 #B3E451
monochromatic
#1930A2 #2140D7 #516AE4 #8697EC #BBC5F4
Accessibility & contrast
On white
4.63
#516AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#516AE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #516AE4
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516AE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516AE4 | 1.00 | 4.63 | 4.53 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#107BE8
Deuteranopia (green-blind)
#006EE2
Tritanopia (blue-blind)
#00879D
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #516ae4; /* rgb */ color: rgb(81, 106, 228); /* oklch */ color: oklch(57.2% 0.186 270.7);
Tailwind
colors: {
custom: {
50: '#9194ed',
500: '#516ae4',
950: '#000000',
},
}SCSS
$custom: #516ae4; $custom-light: #9194ed; $custom-dark: #000000;
JSON
{
"hex": "#516ae4",
"rgb": {
"r": 81,
"g": 106,
"b": 228
},
"hsl": {
"h": 229.796,
"s": 73.134,
"l": 60.588
},
"oklch": {
"l": 0.57202,
"c": 0.18646,
"h": 270.7
},
"luminance": 0.17659
}Semantic roles & 50–950 ramp
primary
#516AE4
secondary
#E4DBAC
accent
#B410D5
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84