#516CE2#516CE2
#516CE2 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.4% C 0.181 H 270.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #516CE2 |
|---|---|
| RGB | rgb(81, 108, 226) |
| HSL | hsl(229, 71%, 60%) |
| HSV | hsv(229, 64%, 89%) |
| CMYK | cmyk(64.2%, 52.2%, 0%, 11.4%) |
| CIE-LAB | lab(49.45, 27.09, -63.17) |
| CIE-LCH | lch(49.45, 68.73, 293.21°) |
| OKLab | oklab(57.44% 0.0003 -0.1813) |
| OKLCH | oklch(57.44% 0.181 270.1) |
| XYZ | xyz(22.4787, 17.9634, 74.2194) |
| Luminance | 0.1797 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.06
Royal Blue
#4169E1
ΔE00 2.14
Bright Blue
#0165FC
ΔE00 4.78
Cerulean Blue
#056EEE
ΔE00 5.47
Azul
#1D5DEC
ΔE00 5.79
Cornflower
#6A79F7
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516CE2 #E2C751
analogous
#51B4E2 #516CE2 #7F51E2
triadic
#516CE2 #E2516C #6CE251
tetradic
#516CE2 #E251B4 #E2C751 #51E27F
square
#516CE2 #E251B4 #E2C751 #51E27F
split-complementary
#516CE2 #E27F51 #B4E251
monochromatic
#1A339E #2344D3 #516CE2 #8598EB #BAC5F3
Accessibility & contrast
On white
4.57
#516CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#516CE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #516CE2
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516CE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##516CE2 | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#207CE6
Deuteranopia (green-blind)
#006FE0
Tritanopia (blue-blind)
#00889D
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #516ce2; /* rgb */ color: rgb(81, 108, 226); /* oklch */ color: oklch(57.4% 0.181 270.1);
Tailwind
colors: {
custom: {
50: '#9095ec',
500: '#516ce2',
950: '#000000',
},
}SCSS
$custom: #516ce2; $custom-light: #9095ec; $custom-dark: #000000;
JSON
{
"hex": "#516ce2",
"rgb": {
"r": 81,
"g": 108,
"b": 226
},
"hsl": {
"h": 228.828,
"s": 71.429,
"l": 60.196
},
"oklch": {
"l": 0.57441,
"c": 0.18132,
"h": 270.1
},
"luminance": 0.17965
}Semantic roles & 50–950 ramp
primary
#516CE2
secondary
#E3D9AC
accent
#AF12D3
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84