#516CE7#516CE7
#516CE7 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.8% C 0.188 H 270.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #516CE7 |
|---|---|
| RGB | rgb(81, 108, 231) |
| HSL | hsl(229, 76%, 61%) |
| HSV | hsv(229, 65%, 91%) |
| CMYK | cmyk(64.9%, 53.2%, 0%, 9.4%) |
| CIE-LAB | lab(49.79, 28.80, -65.44) |
| CIE-LCH | lch(49.79, 71.49, 293.75°) |
| OKLab | oklab(57.8% 0.0006 -0.188) |
| OKLCH | oklch(57.8% 0.188 270.2) |
| XYZ | xyz(23.1748, 18.2419, 77.8855) |
| Luminance | 0.1824 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.45
Cornflower Blue
#5170D7
ΔE00 2.55
Bright Blue
#0165FC
ΔE00 4.64
Cerulean Blue
#056EEE
ΔE00 5.56
Cornflower
#6A79F7
ΔE00 5.75
Azul
#1D5DEC
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516CE7 #E7CC51
analogous
#51B7E7 #516CE7 #8151E7
triadic
#516CE7 #E7516C #6CE751
tetradic
#516CE7 #E751B7 #E7CC51 #51E781
square
#516CE7 #E751B7 #E7CC51 #51E781
split-complementary
#516CE7 #E78151 #B7E751
monochromatic
#1731A7 #1E41DC #516CE7 #8799EE #BDC7F6
Accessibility & contrast
On white
4.52
#516CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#516CE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #516CE7
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516CE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##516CE7 | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#137DEB
Deuteranopia (green-blind)
#0070E5
Tritanopia (blue-blind)
#00899F
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #516ce7; /* rgb */ color: rgb(81, 108, 231); /* oklch */ color: oklch(57.8% 0.188 270.2);
Tailwind
colors: {
custom: {
50: '#9195ef',
500: '#516ce7',
950: '#000000',
},
}SCSS
$custom: #516ce7; $custom-light: #9195ef; $custom-dark: #000000;
JSON
{
"hex": "#516ce7",
"rgb": {
"r": 81,
"g": 108,
"b": 231
},
"hsl": {
"h": 229.2,
"s": 75.758,
"l": 61.176
},
"oklch": {
"l": 0.57802,
"c": 0.18801,
"h": 270.2
},
"luminance": 0.18244
}Semantic roles & 50–950 ramp
primary
#516CE7
secondary
#E6DCAE
accent
#B40ED8
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85