#515EDC#515EDC
#515EDC is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.4% C 0.191 H 273.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #515EDC |
|---|---|
| RGB | rgb(81, 94, 220) |
| HSL | hsl(234, 67%, 59%) |
| HSV | hsv(234, 63%, 86%) |
| CMYK | cmyk(63.2%, 57.3%, 0%, 13.7%) |
| CIE-LAB | lab(45.52, 33.73, -66.13) |
| CIE-LCH | lch(45.52, 74.24, 297.02°) |
| OKLab | oklab(54.37% 0.0125 -0.1902) |
| OKLCH | oklch(54.37% 0.191 273.8) |
| XYZ | xyz(20.3100, 14.9203, 69.5059) |
| Luminance | 0.1492 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.22
Dark Periwinkle
#665FD1
ΔE00 3.57
Azul
#1D5DEC
ΔE00 4.36
Royal Blue
#4169E1
ΔE00 4.70
Iris
#6258C4
ΔE00 4.89
Slate Blue
#6A5ACD
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515EDC #DCCF51
analogous
#51A4DC #515EDC #8A51DC
triadic
#515EDC #DC515E #5EDC51
tetradic
#515EDC #DC51A4 #DCCF51 #51DC8A
square
#515EDC #DC51A4 #DCCF51 #51DC8A
split-complementary
#515EDC #DC8A51 #A4DC51
monochromatic
#1E2995 #2837C8 #515EDC #848DE6 #B7BCF0
Accessibility & contrast
On white
5.27
#515EDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#515EDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515EDC
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515EDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515EDC | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#007D94
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #515edc; /* rgb */ color: rgb(81, 94, 220); /* oklch */ color: oklch(54.4% 0.191 273.8);
Tailwind
colors: {
custom: {
50: '#908be8',
500: '#515edc',
950: '#000000',
},
}SCSS
$custom: #515edc; $custom-light: #908be8; $custom-dark: #000000;
JSON
{
"hex": "#515edc",
"rgb": {
"r": 81,
"g": 94,
"b": 220
},
"hsl": {
"h": 234.388,
"s": 66.507,
"l": 59.02
},
"oklch": {
"l": 0.54367,
"c": 0.19061,
"h": 273.8
},
"luminance": 0.14922
}Semantic roles & 50–950 ramp
primary
#515EDC
secondary
#E0DBA9
accent
#D93EE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84