#516CE3#516CE3
#516CE3 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.5% C 0.183 H 270.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #516CE3 |
|---|---|
| RGB | rgb(81, 108, 227) |
| HSL | hsl(229, 72%, 60%) |
| HSV | hsv(229, 64%, 89%) |
| CMYK | cmyk(64.3%, 52.4%, 0%, 11%) |
| CIE-LAB | lab(49.52, 27.43, -63.62) |
| CIE-LCH | lch(49.52, 69.28, 293.32°) |
| OKLab | oklab(57.51% 0.0004 -0.1827) |
| OKLCH | oklch(57.51% 0.183 270.1) |
| XYZ | xyz(22.6163, 18.0185, 74.9442) |
| Luminance | 0.1802 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.15
Royal Blue
#4169E1
ΔE00 2.19
Bright Blue
#0165FC
ΔE00 4.74
Cerulean Blue
#056EEE
ΔE00 5.49
Azul
#1D5DEC
ΔE00 5.80
Cornflower
#6A79F7
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516CE3 #E3C851
analogous
#51B5E3 #516CE3 #7F51E3
triadic
#516CE3 #E3516C #6CE351
tetradic
#516CE3 #E351B5 #E3C851 #51E37F
square
#516CE3 #E351B5 #E3C851 #51E37F
split-complementary
#516CE3 #E37F51 #B5E351
monochromatic
#1A33A0 #2243D5 #516CE3 #8699EB #BAC5F4
Accessibility & contrast
On white
4.56
#516CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#516CE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #516CE3
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516CE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##516CE3 | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E7DE7
Deuteranopia (green-blind)
#006FE1
Tritanopia (blue-blind)
#00889D
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #516ce3; /* rgb */ color: rgb(81, 108, 227); /* oklch */ color: oklch(57.5% 0.183 270.1);
Tailwind
colors: {
custom: {
50: '#9095ed',
500: '#516ce3',
950: '#000000',
},
}SCSS
$custom: #516ce3; $custom-light: #9095ed; $custom-dark: #000000;
JSON
{
"hex": "#516ce3",
"rgb": {
"r": 81,
"g": 108,
"b": 227
},
"hsl": {
"h": 228.904,
"s": 72.277,
"l": 60.392
},
"oklch": {
"l": 0.57513,
"c": 0.18267,
"h": 270.1
},
"luminance": 0.18021
}Semantic roles & 50–950 ramp
primary
#516CE3
secondary
#E4D9AC
accent
#B011D4
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84