#516CCE#516CCE
#516CCE is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.1% C 0.154 H 269.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #516CCE |
|---|---|
| RGB | rgb(81, 108, 206) |
| HSL | hsl(227, 56%, 56%) |
| HSV | hsv(227, 61%, 81%) |
| CMYK | cmyk(60.7%, 47.6%, 0%, 19.2%) |
| CIE-LAB | lab(48.17, 20.27, -53.87) |
| CIE-LCH | lch(48.17, 57.56, 290.61°) |
| OKLab | oklab(56.06% -0.0017 -0.154) |
| OKLCH | oklch(56.06% 0.154 269.4) |
| XYZ | xyz(19.8927, 16.9290, 60.5999) |
| Luminance | 0.1693 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 1.85
Royal Blue
#4169E1
ΔE00 2.77
French Blue
#436BAD
ΔE00 5.31
Cerulean Blue
#056EEE
ΔE00 5.85
Bright Blue
#0165FC
ΔE00 6.09
Azul
#1D5DEC
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516CCE #CEB351
analogous
#51ABCE #516CCE #7551CE
triadic
#516CCE #CE516C #6CCE51
tetradic
#516CCE #CE51AB #CEB351 #51CE75
square
#516CCE #CE51AB #CEB351 #51CE75
split-complementary
#516CCE #CE7551 #ABCE51
monochromatic
#243880 #324DB0 #516CCE #8194DB #B1BDE9
Accessibility & contrast
On white
4.79
#516CCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#516CCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516CCE
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516CCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516CCE | 1.00 | 4.79 | 4.39 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B78D2
Deuteranopia (green-blind)
#256DCC
Tritanopia (blue-blind)
#008293
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #516cce; /* rgb */ color: rgb(81, 108, 206); /* oklch */ color: oklch(56.1% 0.154 269.4);
Tailwind
colors: {
custom: {
50: '#8d95dd',
500: '#516cce',
950: '#000000',
},
}SCSS
$custom: #516cce; $custom-light: #8d95dd; $custom-dark: #000000;
JSON
{
"hex": "#516cce",
"rgb": {
"r": 81,
"g": 108,
"b": 206
},
"hsl": {
"h": 227.04,
"s": 56.054,
"l": 56.275
},
"oklch": {
"l": 0.56061,
"c": 0.154,
"h": 269.4
},
"luminance": 0.16931
}Semantic roles & 50–950 ramp
primary
#516CCE
secondary
#D7CCA4
accent
#BF48DF
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83