Shades of Dark Slate Blue #402D8C
Tints of Dark Slate Blue #402D8C
RGB
CMYK
RGB Variations
Color information
#402D8C (or 0x402D8C) is known color: Dark Slate Blue. HEX triplet: 40, 2D and 8C. RGB value is (64,45,140). Sum of RGB (Red+Green+Blue) = 64+45+140=249 (32% of max value = 765). Red value is 64 (25.39% from 255 or 25.70% from 249); Green value is 45 (17.97% from 255 or 18.07% from 249); Blue value is 140 (55.08% from 255 or 56.22% from 249); Max value from RGB is 140 - color contains mainly: blue. Hex color #402D8C is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #402D8C is #BFD273. Grayscale: #3D3D3D. Windows color (decimal): -12571252 or 9186624. OLE color: 9186624.
HSL color Cylindrical-coordinate representation of color #402D8C: hue angle of 252º degrees, saturation: 0.51, 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 #402D8C is Cyan = 0.54, Magento = 0.68, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 64 | 45 | 140 | - |
| CMYK | 0.54 | 0.68 | 0 | 0.45 |
| HSL | 252º | 0.51% | 0.36% | - |
| HSV(B) | 252º | 0.68% | 0.55% | - |
| XYZ | 7.79 | 4.86 | 25.34 | - |
| YUV | 61.51 | 172.29 | 129.78 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 64 | 45 | 140 | 0.54 | 0.68 | 0 | 0.45 | 252 | 0.51 | 0.36 |
| Hex | 40 | 2D | 8C | 36 | 44 | 0 | 2D | FC | 33 | 24 |
| Octal | 100 | 55 | 214 | 66 | 104 | 0 | 55 | 374 | 63 | 44 |
| Binary | 1000000 | 101101 | 10001100 | 110110 | 1000100 | 0 | 101101 | 11111100 | 110011 | 100100 |
Color Harmonies of #402D8C
Complementary color
Monochromatic Colors of #402D8C
Black with #402D8C
Text Example
Text Example
White with #402D8C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #402D8C; }
p { color: rgb(64,45,140); }
H1.HeaderClassName
{
color: #402D8C;
}
.AnyTagClassName
{
color: #402D8C;
}
</style>
background-color css
<style>
a { background-color: #402D8C; }
a { background-color: rgb(64,45,140); }
div.DivClassName
{
background-color: #402D8C;
}
.BgClassName
{
background-color: #402D8C;
}
</style>
border-color css
<style>
span { border-color: #402D8C; }
span { border-color: rgb(64,45,140); }
td.TdClassName
{
border-color: #402D8C;
}
.TagClassName
{
border-color: #402D8C;
}
</style>