#516BDB#516BDB
#516BDB is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.8% C 0.173 H 270.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #516BDB |
|---|---|
| RGB | rgb(81, 107, 219) |
| HSL | hsl(229, 66%, 59%) |
| HSV | hsv(229, 63%, 86%) |
| CMYK | cmyk(63%, 51.1%, 0%, 14.1%) |
| CIE-LAB | lab(48.73, 25.32, -60.37) |
| CIE-LCH | lch(48.73, 65.46, 292.75°) |
| OKLab | oklab(56.75% 0.0006 -0.1731) |
| OKLCH | oklch(56.75% 0.173 270.2) |
| XYZ | xyz(21.4329, 17.3773, 69.2288) |
| Luminance | 0.1738 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 1.90
Royal Blue
#4169E1
ΔE00 1.95
Bright Blue
#0165FC
ΔE00 5.07
Azul
#1D5DEC
ΔE00 5.60
Cerulean Blue
#056EEE
ΔE00 5.63
Dark Periwinkle
#665FD1
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516BDB #DBC151
analogous
#51B0DB #516BDB #7C51DB
triadic
#516BDB #DB516B #6BDB51
tetradic
#516BDB #DB51B0 #DBC151 #51DB7C
square
#516BDB #DB51B0 #DBC151 #51DB7C
split-complementary
#516BDB #DB7C51 #B0DB51
monochromatic
#1E3493 #2947C6 #516BDB #8496E5 #B6C1F0
Accessibility & contrast
On white
4.69
#516BDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#516BDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516BDB
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516BDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516BDB | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#297ADF
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#008599
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #516bdb; /* rgb */ color: rgb(81, 107, 219); /* oklch */ color: oklch(56.8% 0.173 270.2);
Tailwind
colors: {
custom: {
50: '#8f95e7',
500: '#516bdb',
950: '#000000',
},
}SCSS
$custom: #516bdb; $custom-light: #8f95e7; $custom-dark: #000000;
JSON
{
"hex": "#516bdb",
"rgb": {
"r": 81,
"g": 107,
"b": 219
},
"hsl": {
"h": 228.696,
"s": 65.714,
"l": 58.824
},
"oklch": {
"l": 0.56751,
"c": 0.17311,
"h": 270.2
},
"luminance": 0.17379
}Semantic roles & 50–950 ramp
primary
#516BDB
secondary
#DFD5A9
accent
#C93FE9
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D16
muted
#7E7E84