#516FC2#516FC2
#516FC2 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.9% C 0.133 H 267.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #516FC2 |
|---|---|
| RGB | rgb(81, 111, 194) |
| HSL | hsl(224, 48%, 54%) |
| HSV | hsv(224, 58%, 76%) |
| CMYK | cmyk(58.2%, 42.8%, 0%, 23.9%) |
| CIE-LAB | lab(48.27, 14.34, -46.82) |
| CIE-LCH | lch(48.27, 48.97, 287.03°) |
| OKLab | oklab(55.91% -0.0068 -0.1332) |
| OKLCH | oklch(55.91% 0.133 267.1) |
| XYZ | xyz(18.8121, 17.0117, 53.3207) |
| Luminance | 0.1701 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.76
French Blue
#436BAD
ΔE00 3.99
Royal Blue
#4169E1
ΔE00 4.28
Medium Blue
#2C6FBB
ΔE00 6.00
Cerulean Blue
#056EEE
ΔE00 6.16
Flat Blue
#3C73A8
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516FC2 #C2A451
analogous
#51A8C2 #516FC2 #6C51C2
triadic
#516FC2 #C2516F #6FC251
tetradic
#516FC2 #C251A8 #C2A451 #51C26C
square
#516FC2 #C251A8 #C2A451 #51C26C
split-complementary
#516FC2 #C26C51 #A8C251
monochromatic
#283B71 #37539E #516FC2 #7E95D2 #ACBAE2
Accessibility & contrast
On white
4.77
#516FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#516FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516FC2
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516FC2 | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A78C5
Deuteranopia (green-blind)
#3B6EC0
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #516fc2; /* rgb */ color: rgb(81, 111, 194); /* oklch */ color: oklch(55.9% 0.133 267.1);
Tailwind
colors: {
custom: {
50: '#8b97d5',
500: '#516fc2',
950: '#000000',
},
}SCSS
$custom: #516fc2; $custom-light: #8b97d5; $custom-dark: #000000;
JSON
{
"hex": "#516fc2",
"rgb": {
"r": 81,
"g": 111,
"b": 194
},
"hsl": {
"h": 224.071,
"s": 48.085,
"l": 53.922
},
"oklch": {
"l": 0.55912,
"c": 0.13341,
"h": 267.1
},
"luminance": 0.17013
}Semantic roles & 50–950 ramp
primary
#516FC2
secondary
#D0C39F
accent
#B450D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0D14
muted
#7D7E83