#516DD5#516DD5
#516DD5 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.7% C 0.162 H 269.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #516DD5 |
|---|---|
| RGB | rgb(81, 109, 213) |
| HSL | hsl(227, 61%, 58%) |
| HSV | hsv(227, 62%, 84%) |
| CMYK | cmyk(62%, 48.8%, 0%, 16.5%) |
| CIE-LAB | lab(48.87, 22.02, -56.74) |
| CIE-LCH | lch(48.87, 60.87, 291.21°) |
| OKLab | oklab(56.73% -0.0019 -0.1624) |
| OKLCH | oklch(56.73% 0.162 269.3) |
| XYZ | xyz(20.8682, 17.4889, 65.2139) |
| Luminance | 0.1749 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 1.11
Royal Blue
#4169E1
ΔE00 2.32
Cerulean Blue
#056EEE
ΔE00 5.44
Bright Blue
#0165FC
ΔE00 5.59
French Blue
#436BAD
ΔE00 6.06
Azul
#1D5DEC
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516DD5 #D5B951
analogous
#51AFD5 #516DD5 #7751D5
triadic
#516DD5 #D5516D #6DD551
tetradic
#516DD5 #D551AF #D5B951 #51D577
square
#516DD5 #D551AF #D5B951 #51D577
split-complementary
#516DD5 #D57751 #AFD551
monochromatic
#21388A #2D4BBC #516DD5 #8296E1 #B4C0ED
Accessibility & contrast
On white
4.67
#516DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#516DD5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #516DD5
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516DD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516DD5 | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#367AD9
Deuteranopia (green-blind)
#1A6ED3
Tritanopia (blue-blind)
#008597
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #516dd5; /* rgb */ color: rgb(81, 109, 213); /* oklch */ color: oklch(56.7% 0.162 269.3);
Tailwind
colors: {
custom: {
50: '#8e96e2',
500: '#516dd5',
950: '#000000',
},
}SCSS
$custom: #516dd5; $custom-light: #8e96e2; $custom-dark: #000000;
JSON
{
"hex": "#516dd5",
"rgb": {
"r": 81,
"g": 109,
"b": 213
},
"hsl": {
"h": 227.273,
"s": 61.111,
"l": 57.647
},
"oklch": {
"l": 0.56732,
"c": 0.16242,
"h": 269.3
},
"luminance": 0.17491
}Semantic roles & 50–950 ramp
primary
#516DD5
secondary
#DBD0A6
accent
#C244E4
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83