#516CBE#516CBE
#516CBE is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.0% C 0.131 H 268.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #516CBE |
|---|---|
| RGB | rgb(81, 108, 190) |
| HSL | hsl(225, 46%, 53%) |
| HSV | hsv(225, 57%, 75%) |
| CMYK | cmyk(57.4%, 43.2%, 0%, 25.5%) |
| CIE-LAB | lab(47.22, 14.87, -46.19) |
| CIE-LCH | lch(47.22, 48.53, 287.84°) |
| OKLab | oklab(55.03% -0.0042 -0.1314) |
| OKLCH | oklch(55.03% 0.131 268.2) |
| XYZ | xyz(18.0471, 16.1908, 50.8793) |
| Luminance | 0.1619 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.57
French Blue
#436BAD
ΔE00 3.69
Royal Blue
#4169E1
ΔE00 4.53
Medium Blue
#2C6FBB
ΔE00 6.37
Cadet Blue
#4E7496
ΔE00 6.68
Mid Blue
#276AB3
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516CBE #BEA351
analogous
#51A2BE #516CBE #6C51BE
triadic
#516CBE #BE516C #6CBE51
tetradic
#516CBE #BE51A2 #BEA351 #51BE6C
square
#516CBE #BE51A2 #BEA351 #51BE6C
split-complementary
#516CBE #BE6C51 #A2BE51
monochromatic
#28396C #395199 #516CBE #7E92CF #AAB7DF
Accessibility & contrast
On white
4.95
#516CBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#516CBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516CBE
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516CBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516CBE | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4875C1
Deuteranopia (green-blind)
#3A6BBC
Tritanopia (blue-blind)
#007E8C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #516cbe; /* rgb */ color: rgb(81, 108, 190); /* oklch */ color: oklch(55.0% 0.131 268.2);
Tailwind
colors: {
custom: {
50: '#8a95d2',
500: '#516cbe',
950: '#000000',
},
}SCSS
$custom: #516cbe; $custom-light: #8a95d2; $custom-dark: #000000;
JSON
{
"hex": "#516cbe",
"rgb": {
"r": 81,
"g": 108,
"b": 190
},
"hsl": {
"h": 225.138,
"s": 45.607,
"l": 53.137
},
"oklch": {
"l": 0.55031,
"c": 0.13149,
"h": 268.2
},
"luminance": 0.16192
}Semantic roles & 50–950 ramp
primary
#516CBE
secondary
#CDC19E
accent
#B553D5
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82