#516FDA#516FDA
#516FDA is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.5% C 0.167 H 268.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #516FDA |
|---|---|
| RGB | rgb(81, 111, 218) |
| HSL | hsl(227, 65%, 59%) |
| HSV | hsv(227, 63%, 85%) |
| CMYK | cmyk(62.8%, 49.1%, 0%, 14.5%) |
| CIE-LAB | lab(49.71, 22.49, -58.23) |
| CIE-LCH | lch(49.71, 62.42, 291.12°) |
| OKLab | oklab(57.47% -0.0032 -0.1667) |
| OKLCH | oklch(57.47% 0.167 268.9) |
| XYZ | xyz(21.7284, 18.1783, 68.6798) |
| Luminance | 0.1818 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 0.55
Royal Blue
#4169E1
ΔE00 2.50
Cerulean Blue
#056EEE
ΔE00 5.10
Bright Blue
#0165FC
ΔE00 5.47
Deep Sky Blue
#0D75F8
ΔE00 5.93
Lightish Blue
#3D7AFD
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516FDA #DABC51
analogous
#51B3DA #516FDA #7751DA
triadic
#516FDA #DA516F #6FDA51
tetradic
#516FDA #DA51B3 #DABC51 #51DA77
square
#516FDA #DA51B3 #DABC51 #51DA77
split-complementary
#516FDA #DA7751 #B3DA51
monochromatic
#1F3892 #2A4CC4 #516FDA #8399E5 #B6C3EF
Accessibility & contrast
On white
4.53
#516FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#516FDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #516FDA
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##516FDA | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#357DDE
Deuteranopia (green-blind)
#1470D8
Tritanopia (blue-blind)
#00889A
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #516fda; /* rgb */ color: rgb(81, 111, 218); /* oklch */ color: oklch(57.5% 0.167 268.9);
Tailwind
colors: {
custom: {
50: '#8f97e6',
500: '#516fda',
950: '#000000',
},
}SCSS
$custom: #516fda; $custom-light: #8f97e6; $custom-dark: #000000;
JSON
{
"hex": "#516fda",
"rgb": {
"r": 81,
"g": 111,
"b": 218
},
"hsl": {
"h": 226.861,
"s": 64.929,
"l": 58.627
},
"oklch": {
"l": 0.57472,
"c": 0.16678,
"h": 268.9
},
"luminance": 0.1818
}Semantic roles & 50–950 ramp
primary
#516FDA
secondary
#DED3A8
accent
#C340E8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0D16
muted
#7E7E84