#515ED9#515ED9
#515ED9 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.1% C 0.187 H 273.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #515ED9 |
|---|---|
| RGB | rgb(81, 94, 217) |
| HSL | hsl(234, 64%, 58%) |
| HSV | hsv(234, 63%, 85%) |
| CMYK | cmyk(62.7%, 56.7%, 0%, 14.9%) |
| CIE-LAB | lab(45.31, 32.72, -64.77) |
| CIE-LCH | lch(45.31, 72.57, 296.80°) |
| OKLab | oklab(54.14% 0.0125 -0.1862) |
| OKLCH | oklch(54.14% 0.187 273.8) |
| XYZ | xyz(19.9163, 14.7628, 67.4321) |
| Luminance | 0.1476 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.20
Dark Periwinkle
#665FD1
ΔE00 3.50
Azul
#1D5DEC
ΔE00 4.46
Iris
#6258C4
ΔE00 4.67
Royal Blue
#4169E1
ΔE00 4.74
Slate Blue
#6A5ACD
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515ED9 #D9CC51
analogous
#51A2D9 #515ED9 #8851D9
triadic
#515ED9 #D9515E #5ED951
tetradic
#515ED9 #D951A2 #D9CC51 #51D988
square
#515ED9 #D951A2 #D9CC51 #51D988
split-complementary
#515ED9 #D98851 #A2D951
monochromatic
#1F2A90 #2A39C2 #515ED9 #838CE4 #B5BBEF
Accessibility & contrast
On white
5.31
#515ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#515ED9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515ED9
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515ED9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515ED9 | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #515ed9; /* rgb */ color: rgb(81, 94, 217); /* oklch */ color: oklch(54.1% 0.187 273.8);
Tailwind
colors: {
custom: {
50: '#8f8be6',
500: '#515ed9',
950: '#000000',
},
}SCSS
$custom: #515ed9; $custom-light: #8f8be6; $custom-dark: #000000;
JSON
{
"hex": "#515ed9",
"rgb": {
"r": 81,
"g": 94,
"b": 217
},
"hsl": {
"h": 234.265,
"s": 64.151,
"l": 58.431
},
"oklch": {
"l": 0.54137,
"c": 0.18664,
"h": 273.8
},
"luminance": 0.14764
}Semantic roles & 50–950 ramp
primary
#515ED9
secondary
#DED9A8
accent
#D741E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84