#516CC1#516CC1
#516CC1 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.2% C 0.136 H 268.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #516CC1 |
|---|---|
| RGB | rgb(81, 108, 193) |
| HSL | hsl(226, 47%, 54%) |
| HSV | hsv(226, 58%, 76%) |
| CMYK | cmyk(58%, 44%, 0%, 24.3%) |
| CIE-LAB | lab(47.40, 15.87, -47.65) |
| CIE-LCH | lch(47.40, 50.22, 288.42°) |
| OKLab | oklab(55.22% -0.0037 -0.1357) |
| OKLCH | oklch(55.22% 0.136 268.4) |
| XYZ | xyz(18.3783, 16.3233, 52.6240) |
| Luminance | 0.1633 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.21
French Blue
#436BAD
ΔE00 3.97
Royal Blue
#4169E1
ΔE00 4.17
Medium Blue
#2C6FBB
ΔE00 6.47
Cerulean Blue
#056EEE
ΔE00 6.64
Cadet Blue
#4E7496
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516CC1 #C1A651
analogous
#51A4C1 #516CC1 #6E51C1
triadic
#516CC1 #C1516C #6CC151
tetradic
#516CC1 #C151A4 #C1A651 #51C16E
square
#516CC1 #C151A4 #C1A651 #51C16E
split-complementary
#516CC1 #C16E51 #A4C151
monochromatic
#283970 #38509D #516CC1 #7E92D1 #ABB8E1
Accessibility & contrast
On white
4.92
#516CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#516CC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516CC1
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516CC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516CC1 | 1.00 | 4.92 | 4.26 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4676C4
Deuteranopia (green-blind)
#376CBF
Tritanopia (blue-blind)
#007F8D
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #516cc1; /* rgb */ color: rgb(81, 108, 193); /* oklch */ color: oklch(55.2% 0.136 268.4);
Tailwind
colors: {
custom: {
50: '#8b95d4',
500: '#516cc1',
950: '#000000',
},
}SCSS
$custom: #516cc1; $custom-light: #8b95d4; $custom-dark: #000000;
JSON
{
"hex": "#516cc1",
"rgb": {
"r": 81,
"g": 108,
"b": 193
},
"hsl": {
"h": 225.536,
"s": 47.458,
"l": 53.725
},
"oklch": {
"l": 0.55219,
"c": 0.13575,
"h": 268.4
},
"luminance": 0.16325
}Semantic roles & 50–950 ramp
primary
#516CC1
secondary
#CFC39F
accent
#B751D7
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0D0D14
muted
#7D7E83