#515FDC#515FDC
#515FDC is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.5% C 0.189 H 273.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #515FDC |
|---|---|
| RGB | rgb(81, 95, 220) |
| HSL | hsl(234, 67%, 59%) |
| HSV | hsv(234, 63%, 86%) |
| CMYK | cmyk(63.2%, 56.8%, 0%, 13.7%) |
| CIE-LAB | lab(45.77, 33.11, -65.73) |
| CIE-LCH | lch(45.77, 73.60, 296.74°) |
| OKLab | oklab(54.55% 0.0116 -0.189) |
| OKLCH | oklch(54.55% 0.189 273.5) |
| XYZ | xyz(20.3995, 15.0993, 69.5357) |
| Luminance | 0.1510 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.53
Dark Periwinkle
#665FD1
ΔE00 3.62
Azul
#1D5DEC
ΔE00 4.32
Royal Blue
#4169E1
ΔE00 4.41
Iris
#6258C4
ΔE00 5.07
Slate Blue
#6A5ACD
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515FDC #DCCE51
analogous
#51A5DC #515FDC #8951DC
triadic
#515FDC #DC515F #5FDC51
tetradic
#515FDC #DC51A5 #DCCE51 #51DC89
square
#515FDC #DC51A5 #DCCE51 #51DC89
split-complementary
#515FDC #DC8951 #A5DC51
monochromatic
#1E2A95 #2838C8 #515FDC #848EE6 #B7BDF0
Accessibility & contrast
On white
5.22
#515FDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#515FDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515FDC
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515FDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515FDC | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#007D94
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #515fdc; /* rgb */ color: rgb(81, 95, 220); /* oklch */ color: oklch(54.5% 0.189 273.5);
Tailwind
colors: {
custom: {
50: '#908ce8',
500: '#515fdc',
950: '#000000',
},
}SCSS
$custom: #515fdc; $custom-light: #908ce8; $custom-dark: #000000;
JSON
{
"hex": "#515fdc",
"rgb": {
"r": 81,
"g": 95,
"b": 220
},
"hsl": {
"h": 233.957,
"s": 66.507,
"l": 59.02
},
"oklch": {
"l": 0.5455,
"c": 0.18938,
"h": 273.5
},
"luminance": 0.15101
}Semantic roles & 50–950 ramp
primary
#515FDC
secondary
#E0DAA9
accent
#D83EE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84