#515DDC#515DDC
#515DDC is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.2% C 0.192 H 274.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #515DDC |
|---|---|
| RGB | rgb(81, 93, 220) |
| HSL | hsl(235, 67%, 59%) |
| HSV | hsv(235, 63%, 86%) |
| CMYK | cmyk(63.2%, 57.7%, 0%, 13.7%) |
| CIE-LAB | lab(45.28, 34.35, -66.53) |
| CIE-LCH | lch(45.28, 74.87, 297.31°) |
| OKLab | oklab(54.19% 0.0134 -0.1914) |
| OKLCH | oklch(54.19% 0.192 274) |
| XYZ | xyz(20.2217, 14.7436, 69.4764) |
| Luminance | 0.1474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.92
Dark Periwinkle
#665FD1
ΔE00 3.54
Azul
#1D5DEC
ΔE00 4.43
Iris
#6258C4
ΔE00 4.72
Slate Blue
#6A5ACD
ΔE00 4.77
Royal Blue
#4169E1
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515DDC #DCD051
analogous
#51A3DC #515DDC #8B51DC
triadic
#515DDC #DC515D #5DDC51
tetradic
#515DDC #DC51A3 #DCD051 #51DC8B
square
#515DDC #DC51A3 #DCD051 #51DC8B
split-complementary
#515DDC #DC8B51 #A3DC51
monochromatic
#1E2895 #2836C8 #515DDC #848CE6 #B7BCF0
Accessibility & contrast
On white
5.32
#515DDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#515DDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515DDC
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515DDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515DDC | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #515ddc; /* rgb */ color: rgb(81, 93, 220); /* oklch */ color: oklch(54.2% 0.192 274.0);
Tailwind
colors: {
custom: {
50: '#908be8',
500: '#515ddc',
950: '#000000',
},
}SCSS
$custom: #515ddc; $custom-light: #908be8; $custom-dark: #000000;
JSON
{
"hex": "#515ddc",
"rgb": {
"r": 81,
"g": 93,
"b": 220
},
"hsl": {
"h": 234.82,
"s": 66.507,
"l": 59.02
},
"oklch": {
"l": 0.54186,
"c": 0.19185,
"h": 274
},
"luminance": 0.14745
}Semantic roles & 50–950 ramp
primary
#515DDC
secondary
#E0DBA9
accent
#DB3EE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84