#516DDC#516DDC
#516DDC is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.2% C 0.172 H 269.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #516DDC |
|---|---|
| RGB | rgb(81, 109, 220) |
| HSL | hsl(228, 67%, 59%) |
| HSV | hsv(228, 63%, 86%) |
| CMYK | cmyk(63.2%, 50.5%, 0%, 13.7%) |
| CIE-LAB | lab(49.32, 24.41, -60.00) |
| CIE-LCH | lch(49.32, 64.77, 292.14°) |
| OKLab | oklab(57.21% -0.0011 -0.172) |
| OKLCH | oklch(57.21% 0.172 269.6) |
| XYZ | xyz(21.7759, 17.8520, 69.9945) |
| Luminance | 0.1785 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 1.29
Royal Blue
#4169E1
ΔE00 2.11
Bright Blue
#0165FC
ΔE00 5.14
Cerulean Blue
#056EEE
ΔE00 5.32
Azul
#1D5DEC
ΔE00 6.06
Deep Sky Blue
#0D75F8
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516DDC #DCC051
analogous
#51B2DC #516DDC #7B51DC
triadic
#516DDC #DC516D #6DDC51
tetradic
#516DDC #DC51B2 #DCC051 #51DC7B
square
#516DDC #DC51B2 #DCC051 #51DC7B
split-complementary
#516DDC #DC7B51 #B2DC51
monochromatic
#1E3695 #2848C8 #516DDC #8498E6 #B7C3F0
Accessibility & contrast
On white
4.59
#516DDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#516DDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #516DDC
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516DDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516DDC | 1.00 | 4.59 | 4.57 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E7CE0
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#00879A
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #516ddc; /* rgb */ color: rgb(81, 109, 220); /* oklch */ color: oklch(57.2% 0.172 269.6);
Tailwind
colors: {
custom: {
50: '#8f96e7',
500: '#516ddc',
950: '#000000',
},
}SCSS
$custom: #516ddc; $custom-light: #8f96e7; $custom-dark: #000000;
JSON
{
"hex": "#516ddc",
"rgb": {
"r": 81,
"g": 109,
"b": 220
},
"hsl": {
"h": 227.914,
"s": 66.507,
"l": 59.02
},
"oklch": {
"l": 0.57213,
"c": 0.17198,
"h": 269.6
},
"luminance": 0.17854
}Semantic roles & 50–950 ramp
primary
#516DDC
secondary
#E0D5A9
accent
#C73EE9
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84