Shades of Dark Slate Blue #402D8D
Tints of Dark Slate Blue #402D8D
RGB
CMYK
RGB Variations
Color information
#402D8D (or 0x402D8D) is known color: Dark Slate Blue. HEX triplet: 40, 2D and 8D. RGB value is (64,45,141). Sum of RGB (Red+Green+Blue) = 64+45+141=250 (33% of max value = 765). Red value is 64 (25.39% from 255 or 25.6% from 250); Green value is 45 (17.97% from 255 or 18% from 250); Blue value is 141 (55.47% from 255 or 56.4% from 250); Max value from RGB is 141 - color contains mainly: blue. Hex color #402D8D is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #402D8D is #BFD272. Grayscale: #3D3D3D. Windows color (decimal): -12571251 or 9252160. OLE color: 9252160.
HSL color Cylindrical-coordinate representation of color #402D8D: hue angle of 251.87º degrees, saturation: 0.52, lightness: 0.36%. HSV value (or HSB Brightness) of color is 0.55% and HSV saturation: 0.68%. Process color model (Four color, CMYK) of #402D8D is Cyan = 0.55, Magento = 0.68, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 64 | 45 | 141 | - |
| CMYK | 0.55 | 0.68 | 0 | 0.45 |
| HSL | 251.88º | 0.52% | 0.36% | - |
| HSV(B) | 251.88º | 0.68% | 0.55% | - |
| XYZ | 7.86 | 4.89 | 25.73 | - |
| YUV | 61.63 | 172.79 | 129.69 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 64 | 45 | 141 | 0.55 | 0.68 | 0 | 0.45 | 251.88 | 0.52 | 0.36 |
| Hex | 40 | 2D | 8D | 37 | 44 | 0 | 2D | FC | 34 | 24 |
| Octal | 100 | 55 | 215 | 67 | 104 | 0 | 55 | 374 | 64 | 44 |
| Binary | 1000000 | 101101 | 10001101 | 110111 | 1000100 | 0 | 101101 | 11111100 | 110100 | 100100 |
Color Harmonies of #402D8D
Complementary color
Monochromatic Colors of #402D8D
Black with #402D8D
Text Example
Text Example
White with #402D8D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #402D8D; }
p { color: rgb(64,45,141); }
H1.HeaderClassName
{
color: #402D8D;
}
.AnyTagClassName
{
color: #402D8D;
}
</style>
background-color css
<style>
a { background-color: #402D8D; }
a { background-color: rgb(64,45,141); }
div.DivClassName
{
background-color: #402D8D;
}
.BgClassName
{
background-color: #402D8D;
}
</style>
border-color css
<style>
span { border-color: #402D8D; }
span { border-color: rgb(64,45,141); }
td.TdClassName
{
border-color: #402D8D;
}
.TagClassName
{
border-color: #402D8D;
}
</style>