#515ED7#515ED7
#515ED7 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.0% C 0.184 H 273.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #515ED7 |
|---|---|
| RGB | rgb(81, 94, 215) |
| HSL | hsl(234, 63%, 58%) |
| HSV | hsv(234, 62%, 84%) |
| CMYK | cmyk(62.3%, 56.3%, 0%, 15.7%) |
| CIE-LAB | lab(45.16, 32.05, -63.87) |
| CIE-LCH | lch(45.16, 71.46, 296.65°) |
| OKLab | oklab(53.99% 0.0124 -0.1835) |
| OKLCH | oklch(53.99% 0.184 273.9) |
| XYZ | xyz(19.6577, 14.6594, 66.0704) |
| Luminance | 0.1466 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.23
Dark Periwinkle
#665FD1
ΔE00 3.48
Azul
#1D5DEC
ΔE00 4.54
Iris
#6258C4
ΔE00 4.55
Royal Blue
#4169E1
ΔE00 4.79
Slate Blue
#6A5ACD
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515ED7 #D7CA51
analogous
#51A1D7 #515ED7 #8751D7
triadic
#515ED7 #D7515E #5ED751
tetradic
#515ED7 #D751A1 #D7CA51 #51D787
square
#515ED7 #D751A1 #D7CA51 #51D787
split-complementary
#515ED7 #D78751 #A1D751
monochromatic
#202B8D #2C3ABF #515ED7 #838CE2 #B5BAEE
Accessibility & contrast
On white
5.34
#515ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#515ED7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515ED7
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515ED7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515ED7 | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #515ed7; /* rgb */ color: rgb(81, 94, 215); /* oklch */ color: oklch(54.0% 0.184 273.9);
Tailwind
colors: {
custom: {
50: '#8f8be4',
500: '#515ed7',
950: '#000000',
},
}SCSS
$custom: #515ed7; $custom-light: #8f8be4; $custom-dark: #000000;
JSON
{
"hex": "#515ed7",
"rgb": {
"r": 81,
"g": 94,
"b": 215
},
"hsl": {
"h": 234.179,
"s": 62.617,
"l": 58.039
},
"oklch": {
"l": 0.53985,
"c": 0.18396,
"h": 273.9
},
"luminance": 0.14661
}Semantic roles & 50–950 ramp
primary
#515ED7
secondary
#DDD7A7
accent
#D642E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84