#516CDF#516CDF
#516CDF is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.2% C 0.177 H 270.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #516CDF |
|---|---|
| RGB | rgb(81, 108, 223) |
| HSL | hsl(229, 69%, 60%) |
| HSV | hsv(229, 64%, 87%) |
| CMYK | cmyk(63.7%, 51.6%, 0%, 12.5%) |
| CIE-LAB | lab(49.25, 26.06, -61.79) |
| CIE-LCH | lch(49.25, 67.07, 292.87°) |
| OKLab | oklab(57.23% 0.0001 -0.1773) |
| OKLCH | oklch(57.23% 0.177 270) |
| XYZ | xyz(22.0707, 17.8002, 72.0704) |
| Luminance | 0.1780 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 1.81
Royal Blue
#4169E1
ΔE00 2.03
Bright Blue
#0165FC
ΔE00 4.91
Cerulean Blue
#056EEE
ΔE00 5.45
Azul
#1D5DEC
ΔE00 5.79
Cornflower
#6A79F7
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516CDF #DFC451
analogous
#51B3DF #516CDF #7D51DF
triadic
#516CDF #DF516C #6CDF51
tetradic
#516CDF #DF51B3 #DFC451 #51DF7D
square
#516CDF #DF51B3 #DFC451 #51DF7D
split-complementary
#516CDF #DF7D51 #B3DF51
monochromatic
#1C3499 #2646CD #516CDF #8598E9 #B8C3F2
Accessibility & contrast
On white
4.60
#516CDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#516CDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #516CDF
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516CDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516CDF | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#267CE3
Deuteranopia (green-blind)
#006FDD
Tritanopia (blue-blind)
#00879B
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #516cdf; /* rgb */ color: rgb(81, 108, 223); /* oklch */ color: oklch(57.2% 0.177 270.0);
Tailwind
colors: {
custom: {
50: '#9095ea',
500: '#516cdf',
950: '#000000',
},
}SCSS
$custom: #516cdf; $custom-light: #9095ea; $custom-dark: #000000;
JSON
{
"hex": "#516cdf",
"rgb": {
"r": 81,
"g": 108,
"b": 223
},
"hsl": {
"h": 228.592,
"s": 68.932,
"l": 59.608
},
"oklch": {
"l": 0.57228,
"c": 0.17729,
"h": 270
},
"luminance": 0.17802
}Semantic roles & 50–950 ramp
primary
#516CDF
secondary
#E1D7AA
accent
#CA3CEC
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84