#515DC7#515DC7
#515DC7 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.6% C 0.164 H 274.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #515DC7 |
|---|---|
| RGB | rgb(81, 93, 199) |
| HSL | hsl(234, 51%, 55%) |
| HSV | hsv(234, 59%, 78%) |
| CMYK | cmyk(59.3%, 53.3%, 0%, 22%) |
| CIE-LAB | lab(43.80, 27.30, -56.89) |
| CIE-LCH | lch(43.80, 63.10, 295.64°) |
| OKLab | oklab(52.61% 0.0127 -0.163) |
| OKLCH | oklch(52.61% 0.164 274.5) |
| XYZ | xyz(17.6131, 13.7002, 55.7380) |
| Luminance | 0.1370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.24
Iris
#6258C4
ΔE00 3.83
Dark Periwinkle
#665FD1
ΔE00 3.98
Slate Blue
#6A5ACD
ΔE00 4.91
Light Indigo
#6D5ACF
ΔE00 5.48
Azul
#1D5DEC
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515DC7 #C7BB51
analogous
#5198C7 #515DC7 #8051C7
triadic
#515DC7 #C7515D #5DC751
tetradic
#515DC7 #C75198 #C7BB51 #51C780
square
#515DC7 #C75198 #C7BB51 #51C780
split-complementary
#515DC7 #C78051 #98C751
monochromatic
#262F77 #3541A6 #515DC7 #7F88D6 #AEB3E5
Accessibility & contrast
On white
5.61
#515DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#515DC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515DC7
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515DC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515DC7 | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B6DCB
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #515dc7; /* rgb */ color: rgb(81, 93, 199); /* oklch */ color: oklch(52.6% 0.164 274.5);
Tailwind
colors: {
custom: {
50: '#8c8ad9',
500: '#515dc7',
950: '#000000',
},
}SCSS
$custom: #515dc7; $custom-light: #8c8ad9; $custom-dark: #000000;
JSON
{
"hex": "#515dc7",
"rgb": {
"r": 81,
"g": 93,
"b": 199
},
"hsl": {
"h": 233.898,
"s": 51.304,
"l": 54.902
},
"oklch": {
"l": 0.52611,
"c": 0.16352,
"h": 274.5
},
"luminance": 0.13702
}Semantic roles & 50–950 ramp
primary
#515DC7
secondary
#D3CEA1
accent
#CC4DDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B15
muted
#7E7C83