Shades of Midnight Blue #2A2381
Tints of Midnight Blue #2A2381
RGB
CMYK
RGB Variations
Color information
#2A2381 (or 0x2A2381) is known color: Midnight Blue. HEX triplet: 2A, 23 and 81. RGB value is (42,35,129). Sum of RGB (Red+Green+Blue) = 42+35+129=206 (27% of max value = 765). Red value is 42 (16.80% from 255 or 20.39% from 206); Green value is 35 (14.06% from 255 or 16.99% from 206); Blue value is 129 (50.78% from 255 or 62.62% from 206); Max value from RGB is 129 - color contains mainly: blue. Hex color #2A2381 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #2A2381 is #D5DC7E. Grayscale: #2F2F2F. Windows color (decimal): -14015615 or 8463146. OLE color: 8463146.
HSL color Cylindrical-coordinate representation of color #2A2381: hue angle of 244.47º degrees, saturation: 0.57, lightness: 0.32%. HSV value (or HSB Brightness) of color is 0.51% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #2A2381 is Cyan = 0.67, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.49.
Color convert
| RGB | 42 | 35 | 129 | - |
| CMYK | 0.67 | 0.73 | 0 | 0.49 |
| HSL | 244.47º | 0.57% | 0.32% | - |
| HSV(B) | 244.47º | 0.73% | 0.51% | - |
| XYZ | 5.52 | 3.28 | 21.11 | - |
| YUV | 47.81 | 173.82 | 123.86 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 35 | 129 | 0.67 | 0.73 | 0 | 0.49 | 244.47 | 0.57 | 0.32 |
| Hex | 2A | 23 | 81 | 43 | 49 | 0 | 31 | F4 | 39 | 20 |
| Octal | 52 | 43 | 201 | 103 | 111 | 0 | 61 | 364 | 71 | 40 |
| Binary | 101010 | 100011 | 10000001 | 1000011 | 1001001 | 0 | 110001 | 11110100 | 111001 | 100000 |
Color Harmonies of #2A2381
Complementary color
Monochromatic Colors of #2A2381
Black with #2A2381
Text Example
Text Example
White with #2A2381
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A2381; }
p { color: rgb(42,35,129); }
H1.HeaderClassName
{
color: #2A2381;
}
.AnyTagClassName
{
color: #2A2381;
}
</style>
background-color css
<style>
a { background-color: #2A2381; }
a { background-color: rgb(42,35,129); }
div.DivClassName
{
background-color: #2A2381;
}
.BgClassName
{
background-color: #2A2381;
}
</style>
border-color css
<style>
span { border-color: #2A2381; }
span { border-color: rgb(42,35,129); }
td.TdClassName
{
border-color: #2A2381;
}
.TagClassName
{
border-color: #2A2381;
}
</style>