#516AF2#516AF2
#516AF2 is a mid, highly saturated blue. Relative luminance 0.185; OKLCH L 58.2% C 0.205 H 270.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #516AF2 |
|---|---|
| RGB | rgb(81, 106, 242) |
| HSL | hsl(231, 86%, 63%) |
| HSV | hsv(231, 67%, 95%) |
| CMYK | cmyk(66.5%, 56.2%, 0%, 5.1%) |
| CIE-LAB | lab(50.06, 33.78, -71.17) |
| CIE-LCH | lch(50.06, 78.78, 295.39°) |
| OKLab | oklab(58.25% 0.0028 -0.2049) |
| OKLCH | oklch(58.25% 0.205 270.8) |
| XYZ | xyz(24.5690, 18.4659, 86.2567) |
| Luminance | 0.1847 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.44
Cornflower Blue
#5170D7
ΔE00 4.07
Bright Blue
#0165FC
ΔE00 4.53
Cornflower
#6A79F7
ΔE00 5.56
Azul
#1D5DEC
ΔE00 5.87
Cerulean Blue
#056EEE
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516AF2 #F2D951
analogous
#51BAF2 #516AF2 #8851F2
triadic
#516AF2 #F2516A #6AF251
tetradic
#516AF2 #F251BA #F2D951 #51F288
square
#516AF2 #F251BA #F2D951 #51F288
split-complementary
#516AF2 #F28851 #BAF251
monochromatic
#0E29BB #1839EE #516AF2 #8A9BF6 #C3CCFB
Accessibility & contrast
On white
4.47
#516AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#516AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #516AF2
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##516AF2 | 1.00 | 4.47 | 4.69 | 4.69 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#0070EF
Tritanopia (blue-blind)
#008BA4
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #516af2; /* rgb */ color: rgb(81, 106, 242); /* oklch */ color: oklch(58.2% 0.205 270.8);
Tailwind
colors: {
custom: {
50: '#9394f7',
500: '#516af2',
950: '#000000',
},
}SCSS
$custom: #516af2; $custom-light: #9394f7; $custom-dark: #000000;
JSON
{
"hex": "#516af2",
"rgb": {
"r": 81,
"g": 106,
"b": 242
},
"hsl": {
"h": 230.683,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.58246,
"c": 0.2049,
"h": 270.8
},
"luminance": 0.18468
}Semantic roles & 50–950 ramp
primary
#516AF2
secondary
#ECE3B3
accent
#C003E3
background
#F9F9FF
surface
#F2F1FF
border
#CCCBD7
text
#0F0D17
muted
#7E7E85