#515BCD#515BCD
#515BCD is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.7% C 0.174 H 274.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #515BCD |
|---|---|
| RGB | rgb(81, 91, 205) |
| HSL | hsl(235, 55%, 56%) |
| HSV | hsv(235, 60%, 80%) |
| CMYK | cmyk(60.5%, 55.6%, 0%, 19.6%) |
| CIE-LAB | lab(43.71, 30.56, -60.49) |
| CIE-LCH | lch(43.71, 67.78, 296.80°) |
| OKLab | oklab(52.68% 0.015 -0.1736) |
| OKLCH | oklch(52.68% 0.174 274.9) |
| XYZ | xyz(18.1503, 13.6379, 59.4217) |
| Luminance | 0.1364 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.20
Iris
#6258C4
ΔE00 3.53
Dark Periwinkle
#665FD1
ΔE00 3.66
Slate Blue
#6A5ACD
ΔE00 4.45
Light Indigo
#6D5ACF
ΔE00 5.00
Azul
#1D5DEC
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515BCD #CDC351
analogous
#5199CD #515BCD #8551CD
triadic
#515BCD #CD515B #5BCD51
tetradic
#515BCD #CD5199 #CDC351 #51CD85
square
#515BCD #CD5199 #CDC351 #51CD85
split-complementary
#515BCD #CD8551 #99CD51
monochromatic
#252C7F #323CAF #515BCD #8188DB #B0B5E8
Accessibility & contrast
On white
5.63
#515BCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#515BCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515BCD
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515BCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515BCD | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #515bcd; /* rgb */ color: rgb(81, 91, 205); /* oklch */ color: oklch(52.7% 0.174 274.9);
Tailwind
colors: {
custom: {
50: '#8d89dd',
500: '#515bcd',
950: '#000000',
},
}SCSS
$custom: #515bcd; $custom-light: #8d89dd; $custom-dark: #000000;
JSON
{
"hex": "#515bcd",
"rgb": {
"r": 81,
"g": 91,
"b": 205
},
"hsl": {
"h": 235.161,
"s": 55.357,
"l": 56.078
},
"oklch": {
"l": 0.52675,
"c": 0.17429,
"h": 274.9
},
"luminance": 0.13639
}Semantic roles & 50–950 ramp
primary
#515BCD
secondary
#D7D2A3
accent
#D349DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83