#515DD8#515DD8
#515DD8 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.9% C 0.187 H 274.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #515DD8 |
|---|---|
| RGB | rgb(81, 93, 216) |
| HSL | hsl(235, 63%, 58%) |
| HSV | hsv(235, 63%, 85%) |
| CMYK | cmyk(62.5%, 56.9%, 0%, 15.3%) |
| CIE-LAB | lab(44.99, 33.01, -64.72) |
| CIE-LCH | lch(44.99, 72.65, 297.02°) |
| OKLab | oklab(53.88% 0.0133 -0.1861) |
| OKLCH | oklch(53.88% 0.187 274.1) |
| XYZ | xyz(19.6983, 14.5343, 66.7198) |
| Luminance | 0.1454 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.91
Dark Periwinkle
#665FD1
ΔE00 3.46
Iris
#6258C4
ΔE00 4.43
Azul
#1D5DEC
ΔE00 4.56
Slate Blue
#6A5ACD
ΔE00 4.67
Royal Blue
#4169E1
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515DD8 #D8CC51
analogous
#51A0D8 #515DD8 #8851D8
triadic
#515DD8 #D8515D #5DD851
tetradic
#515DD8 #D851A0 #D8CC51 #51D888
square
#515DD8 #D851A0 #D8CC51 #51D888
split-complementary
#515DD8 #D88851 #A0D851
monochromatic
#202A8F #2B38C1 #515DD8 #838CE3 #B5BAEE
Accessibility & contrast
On white
5.37
#515DD8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#515DD8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515DD8
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515DD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515DD8 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #515dd8; /* rgb */ color: rgb(81, 93, 216); /* oklch */ color: oklch(53.9% 0.187 274.1);
Tailwind
colors: {
custom: {
50: '#8f8ae5',
500: '#515dd8',
950: '#000000',
},
}SCSS
$custom: #515dd8; $custom-light: #8f8ae5; $custom-dark: #000000;
JSON
{
"hex": "#515dd8",
"rgb": {
"r": 81,
"g": 93,
"b": 216
},
"hsl": {
"h": 234.667,
"s": 63.38,
"l": 58.235
},
"oklch": {
"l": 0.53878,
"c": 0.18655,
"h": 274.1
},
"luminance": 0.14536
}Semantic roles & 50–950 ramp
primary
#515DD8
secondary
#DDD9A8
accent
#D841E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84