#516CDD#516CDD
#516CDD is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.1% C 0.175 H 270.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #516CDD |
|---|---|
| RGB | rgb(81, 108, 221) |
| HSL | hsl(228, 67%, 59%) |
| HSV | hsv(228, 63%, 87%) |
| CMYK | cmyk(63.3%, 51.1%, 0%, 13.3%) |
| CIE-LAB | lab(49.12, 25.38, -60.88) |
| CIE-LCH | lch(49.12, 65.95, 292.63°) |
| OKLab | oklab(57.09% -0.0001 -0.1746) |
| OKLCH | oklch(57.09% 0.175 270) |
| XYZ | xyz(21.8026, 17.6930, 70.6587) |
| Luminance | 0.1769 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 1.67
Royal Blue
#4169E1
ΔE00 2.00
Bright Blue
#0165FC
ΔE00 5.01
Cerulean Blue
#056EEE
ΔE00 5.46
Azul
#1D5DEC
ΔE00 5.80
Dark Periwinkle
#665FD1
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516CDD #DDC251
analogous
#51B2DD #516CDD #7C51DD
triadic
#516CDD #DD516C #6CDD51
tetradic
#516CDD #DD51B2 #DDC251 #51DD7C
square
#516CDD #DD51B2 #DDC251 #51DD7C
split-complementary
#516CDD #DD7C51 #B2DD51
monochromatic
#1D3596 #2747C9 #516CDD #8497E7 #B7C3F1
Accessibility & contrast
On white
4.63
#516CDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#516CDD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #516CDD
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516CDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516CDD | 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)
#297BE1
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#00869A
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #516cdd; /* rgb */ color: rgb(81, 108, 221); /* oklch */ color: oklch(57.1% 0.175 270.0);
Tailwind
colors: {
custom: {
50: '#8f95e8',
500: '#516cdd',
950: '#000000',
},
}SCSS
$custom: #516cdd; $custom-light: #8f95e8; $custom-dark: #000000;
JSON
{
"hex": "#516cdd",
"rgb": {
"r": 81,
"g": 108,
"b": 221
},
"hsl": {
"h": 228.429,
"s": 67.308,
"l": 59.216
},
"oklch": {
"l": 0.57087,
"c": 0.17458,
"h": 270
},
"luminance": 0.17695
}Semantic roles & 50–950 ramp
primary
#516CDD
secondary
#E0D6AA
accent
#C93EEA
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84