#515ED8#515ED8
#515ED8 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.1% C 0.185 H 273.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #515ED8 |
|---|---|
| RGB | rgb(81, 94, 216) |
| HSL | hsl(234, 63%, 58%) |
| HSV | hsv(234, 63%, 85%) |
| CMYK | cmyk(62.5%, 56.5%, 0%, 15.3%) |
| CIE-LAB | lab(45.24, 32.39, -64.32) |
| CIE-LCH | lch(45.24, 72.01, 296.73°) |
| OKLab | oklab(54.06% 0.0124 -0.1849) |
| OKLCH | oklch(54.06% 0.185 273.8) |
| XYZ | xyz(19.7866, 14.7110, 66.7492) |
| Luminance | 0.1471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.21
Dark Periwinkle
#665FD1
ΔE00 3.49
Azul
#1D5DEC
ΔE00 4.49
Iris
#6258C4
ΔE00 4.61
Royal Blue
#4169E1
ΔE00 4.76
Slate Blue
#6A5ACD
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515ED8 #D8CB51
analogous
#51A1D8 #515ED8 #8751D8
triadic
#515ED8 #D8515E #5ED851
tetradic
#515ED8 #D851A1 #D8CB51 #51D887
square
#515ED8 #D851A1 #D8CB51 #51D887
split-complementary
#515ED8 #D88751 #A1D851
monochromatic
#202B8F #2B3AC1 #515ED8 #838CE3 #B5BBEE
Accessibility & contrast
On white
5.33
#515ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#515ED8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515ED8
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515ED8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515ED8 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #515ed8; /* rgb */ color: rgb(81, 94, 216); /* oklch */ color: oklch(54.1% 0.185 273.8);
Tailwind
colors: {
custom: {
50: '#8f8be5',
500: '#515ed8',
950: '#000000',
},
}SCSS
$custom: #515ed8; $custom-light: #8f8be5; $custom-dark: #000000;
JSON
{
"hex": "#515ed8",
"rgb": {
"r": 81,
"g": 94,
"b": 216
},
"hsl": {
"h": 234.222,
"s": 63.38,
"l": 58.235
},
"oklch": {
"l": 0.54061,
"c": 0.1853,
"h": 273.8
},
"luminance": 0.14713
}Semantic roles & 50–950 ramp
primary
#515ED8
secondary
#DDD8A8
accent
#D741E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84