#516CC5#516CC5
#516CC5 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.5% C 0.141 H 268.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #516CC5 |
|---|---|
| RGB | rgb(81, 108, 197) |
| HSL | hsl(226, 50%, 55%) |
| HSV | hsv(226, 59%, 77%) |
| CMYK | cmyk(58.9%, 45.2%, 0%, 22.7%) |
| CIE-LAB | lab(47.63, 17.22, -49.58) |
| CIE-LCH | lch(47.63, 52.49, 289.15°) |
| OKLab | oklab(55.47% -0.003 -0.1414) |
| OKLCH | oklch(55.47% 0.141 268.8) |
| XYZ | xyz(18.8306, 16.5042, 55.0058) |
| Luminance | 0.1651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.75
Royal Blue
#4169E1
ΔE00 3.71
French Blue
#436BAD
ΔE00 4.36
Cerulean Blue
#056EEE
ΔE00 6.36
Medium Blue
#2C6FBB
ΔE00 6.65
Azul
#1D5DEC
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516CC5 #C5AA51
analogous
#51A6C5 #516CC5 #7051C5
triadic
#516CC5 #C5516C #6CC551
tetradic
#516CC5 #C551A6 #C5AA51 #51C570
square
#516CC5 #C551A6 #C5AA51 #51C570
split-complementary
#516CC5 #C57051 #A6C551
monochromatic
#273975 #364FA3 #516CC5 #7F93D4 #ADBAE4
Accessibility & contrast
On white
4.88
#516CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#516CC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516CC5
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516CC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516CC5 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4376C8
Deuteranopia (green-blind)
#326CC3
Tritanopia (blue-blind)
#00808F
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #516cc5; /* rgb */ color: rgb(81, 108, 197); /* oklch */ color: oklch(55.5% 0.141 268.8);
Tailwind
colors: {
custom: {
50: '#8b95d7',
500: '#516cc5',
950: '#000000',
},
}SCSS
$custom: #516cc5; $custom-light: #8b95d7; $custom-dark: #000000;
JSON
{
"hex": "#516cc5",
"rgb": {
"r": 81,
"g": 108,
"b": 197
},
"hsl": {
"h": 226.034,
"s": 50,
"l": 54.51
},
"oklch": {
"l": 0.55473,
"c": 0.1414,
"h": 268.8
},
"luminance": 0.16506
}Semantic roles & 50–950 ramp
primary
#516CC5
secondary
#D1C6A0
accent
#B94EDA
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D14
muted
#7E7E83