#516AE7#516AE7
#516AE7 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.4% C 0.190 H 270.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #516AE7 |
|---|---|
| RGB | rgb(81, 106, 231) |
| HSL | hsl(230, 76%, 61%) |
| HSV | hsv(230, 65%, 91%) |
| CMYK | cmyk(64.9%, 54.1%, 0%, 9.4%) |
| CIE-LAB | lab(49.28, 30.03, -66.26) |
| CIE-LCH | lch(49.28, 72.75, 294.38°) |
| OKLab | oklab(57.42% 0.0024 -0.1904) |
| OKLCH | oklch(57.42% 0.19 270.7) |
| XYZ | xyz(22.9663, 17.8248, 77.8160) |
| Luminance | 0.1783 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.41
Cornflower Blue
#5170D7
ΔE00 3.01
Bright Blue
#0165FC
ΔE00 4.53
Azul
#1D5DEC
ΔE00 5.42
Cerulean Blue
#056EEE
ΔE00 5.88
Dark Periwinkle
#665FD1
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516AE7 #E7CE51
analogous
#51B5E7 #516AE7 #8351E7
triadic
#516AE7 #E7516A #6AE751
tetradic
#516AE7 #E751B5 #E7CE51 #51E783
square
#516AE7 #E751B5 #E7CE51 #51E783
split-complementary
#516AE7 #E78351 #B5E751
monochromatic
#172FA7 #1E3EDC #516AE7 #8798EE #BDC6F6
Accessibility & contrast
On white
4.60
#516AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#516AE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #516AE7
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516AE7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516AE7 | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#027CEB
Deuteranopia (green-blind)
#006FE4
Tritanopia (blue-blind)
#00889E
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #516ae7; /* rgb */ color: rgb(81, 106, 231); /* oklch */ color: oklch(57.4% 0.190 270.7);
Tailwind
colors: {
custom: {
50: '#9194ef',
500: '#516ae7',
950: '#000000',
},
}SCSS
$custom: #516ae7; $custom-light: #9194ef; $custom-dark: #000000;
JSON
{
"hex": "#516ae7",
"rgb": {
"r": 81,
"g": 106,
"b": 231
},
"hsl": {
"h": 230,
"s": 75.758,
"l": 61.176
},
"oklch": {
"l": 0.57422,
"c": 0.19045,
"h": 270.7
},
"luminance": 0.17827
}Semantic roles & 50–950 ramp
primary
#516AE7
secondary
#E6DDAE
accent
#B60ED8
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85