#516FE2#516FE2
#516FE2 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.0% C 0.178 H 269.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #516FE2 |
|---|---|
| RGB | rgb(81, 111, 226) |
| HSL | hsl(228, 71%, 60%) |
| HSV | hsv(228, 64%, 89%) |
| CMYK | cmyk(64.2%, 50.9%, 0%, 11.4%) |
| CIE-LAB | lab(50.22, 25.23, -61.92) |
| CIE-LCH | lch(50.22, 66.86, 292.17°) |
| OKLab | oklab(58.03% -0.0024 -0.1776) |
| OKLCH | oklch(58.03% 0.178 269.2) |
| XYZ | xyz(22.8006, 18.6071, 74.3267) |
| Luminance | 0.1861 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 1.49
Royal Blue
#4169E1
ΔE00 2.59
Bright Blue
#0165FC
ΔE00 5.11
Cerulean Blue
#056EEE
ΔE00 5.11
Lightish Blue
#3D7AFD
ΔE00 5.40
Cornflower
#6A79F7
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516FE2 #E2C451
analogous
#51B8E2 #516FE2 #7B51E2
triadic
#516FE2 #E2516F #6FE251
tetradic
#516FE2 #E251B8 #E2C451 #51E27B
square
#516FE2 #E251B8 #E2C451 #51E27B
split-complementary
#516FE2 #E27B51 #B8E251
monochromatic
#1A369E #2347D3 #516FE2 #859AEB #BAC6F3
Accessibility & contrast
On white
4.45
#516FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#516FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #516FE2
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##516FE2 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B7EE6
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#008A9E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #516fe2; /* rgb */ color: rgb(81, 111, 226); /* oklch */ color: oklch(58.0% 0.178 269.2);
Tailwind
colors: {
custom: {
50: '#9097ec',
500: '#516fe2',
950: '#000000',
},
}SCSS
$custom: #516fe2; $custom-light: #9097ec; $custom-dark: #000000;
JSON
{
"hex": "#516fe2",
"rgb": {
"r": 81,
"g": 111,
"b": 226
},
"hsl": {
"h": 227.586,
"s": 71.429,
"l": 60.196
},
"oklch": {
"l": 0.58025,
"c": 0.17764,
"h": 269.2
},
"luminance": 0.18609
}Semantic roles & 50–950 ramp
primary
#516FE2
secondary
#E3D8AC
accent
#AB12D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84