Shades of Midnight Blue #2A287C
Tints of Midnight Blue #2A287C
RGB
CMYK
RGB Variations
Color information
#2A287C (or 0x2A287C) is known color: Midnight Blue. HEX triplet: 2A, 28 and 7C. RGB value is (42,40,124). Sum of RGB (Red+Green+Blue) = 42+40+124=206 (27% of max value = 765). Red value is 42 (16.80% from 255 or 20.39% from 206); Green value is 40 (16.02% from 255 or 19.42% from 206); Blue value is 124 (48.83% from 255 or 60.19% from 206); Max value from RGB is 124 - color contains mainly: blue. Hex color #2A287C is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A287C is #D5D783. Grayscale: #313131. Windows color (decimal): -14014340 or 8136746. OLE color: 8136746.
HSL color Cylindrical-coordinate representation of color #2A287C: hue angle of 241.43º degrees, saturation: 0.51, lightness: 0.32%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.68%. Process color model (Four color, CMYK) of #2A287C is Cyan = 0.66, Magento = 0.68, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 42 | 40 | 124 | - |
| CMYK | 0.66 | 0.68 | 0 | 0.51 |
| HSL | 241.43º | 0.51% | 0.32% | - |
| HSV(B) | 241.43º | 0.68% | 0.49% | - |
| XYZ | 5.35 | 3.47 | 19.46 | - |
| YUV | 50.17 | 169.66 | 122.17 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 40 | 124 | 0.66 | 0.68 | 0 | 0.51 | 241.43 | 0.51 | 0.32 |
| Hex | 2A | 28 | 7C | 42 | 44 | 0 | 33 | F1 | 33 | 20 |
| Octal | 52 | 50 | 174 | 102 | 104 | 0 | 63 | 361 | 63 | 40 |
| Binary | 101010 | 101000 | 1111100 | 1000010 | 1000100 | 0 | 110011 | 11110001 | 110011 | 100000 |
Color Harmonies of #2A287C
Complementary color
Monochromatic Colors of #2A287C
Black with #2A287C
Text Example
Text Example
White with #2A287C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A287C; }
p { color: rgb(42,40,124); }
H1.HeaderClassName
{
color: #2A287C;
}
.AnyTagClassName
{
color: #2A287C;
}
</style>
background-color css
<style>
a { background-color: #2A287C; }
a { background-color: rgb(42,40,124); }
div.DivClassName
{
background-color: #2A287C;
}
.BgClassName
{
background-color: #2A287C;
}
</style>
border-color css
<style>
span { border-color: #2A287C; }
span { border-color: rgb(42,40,124); }
td.TdClassName
{
border-color: #2A287C;
}
.TagClassName
{
border-color: #2A287C;
}
</style>