#516BE1#516BE1
#516BE1 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.2% C 0.181 H 270.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #516BE1 |
|---|---|
| RGB | rgb(81, 107, 225) |
| HSL | hsl(229, 71%, 60%) |
| HSV | hsv(229, 64%, 88%) |
| CMYK | cmyk(64%, 52.4%, 0%, 11.8%) |
| CIE-LAB | lab(49.13, 27.37, -63.12) |
| CIE-LCH | lch(49.13, 68.80, 293.44°) |
| OKLab | oklab(57.18% 0.0011 -0.1812) |
| OKLCH | oklch(57.18% 0.181 270.4) |
| XYZ | xyz(22.2370, 17.6990, 73.4639) |
| Luminance | 0.1770 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.04
Cornflower Blue
#5170D7
ΔE00 2.25
Bright Blue
#0165FC
ΔE00 4.76
Azul
#1D5DEC
ΔE00 5.56
Cerulean Blue
#056EEE
ΔE00 5.62
Dark Periwinkle
#665FD1
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516BE1 #E1C751
analogous
#51B3E1 #516BE1 #7F51E1
triadic
#516BE1 #E1516B #6BE151
tetradic
#516BE1 #E151B3 #E1C751 #51E17F
square
#516BE1 #E151B3 #E1C751 #51E17F
split-complementary
#516BE1 #E17F51 #B3E151
monochromatic
#1B329D #2443D1 #516BE1 #8597EA #B9C4F3
Accessibility & contrast
On white
4.63
#516BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#516BE1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #516BE1
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516BE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516BE1 | 1.00 | 4.63 | 4.54 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E7BE5
Deuteranopia (green-blind)
#006FDF
Tritanopia (blue-blind)
#00879C
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #516be1; /* rgb */ color: rgb(81, 107, 225); /* oklch */ color: oklch(57.2% 0.181 270.4);
Tailwind
colors: {
custom: {
50: '#9095eb',
500: '#516be1',
950: '#000000',
},
}SCSS
$custom: #516be1; $custom-light: #9095eb; $custom-dark: #000000;
JSON
{
"hex": "#516be1",
"rgb": {
"r": 81,
"g": 107,
"b": 225
},
"hsl": {
"h": 229.167,
"s": 70.588,
"l": 60
},
"oklch": {
"l": 0.57177,
"c": 0.18121,
"h": 270.4
},
"luminance": 0.17701
}Semantic roles & 50–950 ramp
primary
#516BE1
secondary
#E3D9AB
accent
#CD3AED
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84