Shades of Midnight Blue #2A287B
Tints of Midnight Blue #2A287B
RGB
CMYK
RGB Variations
Color information
#2A287B (or 0x2A287B) is known color: Midnight Blue. HEX triplet: 2A, 28 and 7B. RGB value is (42,40,123). Sum of RGB (Red+Green+Blue) = 42+40+123=205 (27% of max value = 765). Red value is 42 (16.80% from 255 or 20.49% from 205); Green value is 40 (16.02% from 255 or 19.51% from 205); Blue value is 123 (48.44% from 255 or 60% from 205); Max value from RGB is 123 - color contains mainly: blue. Hex color #2A287B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A287B is #D5D784. Grayscale: #313131. Windows color (decimal): -14014341 or 8071210. OLE color: 8071210.
HSL color Cylindrical-coordinate representation of color #2A287B: hue angle of 241.45º degrees, saturation: 0.51, lightness: 0.32%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.67%. Process color model (Four color, CMYK) of #2A287B is Cyan = 0.66, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 42 | 40 | 123 | - |
| CMYK | 0.66 | 0.67 | 0 | 0.52 |
| HSL | 241.45º | 0.51% | 0.32% | - |
| HSV(B) | 241.45º | 0.67% | 0.48% | - |
| XYZ | 5.29 | 3.44 | 19.12 | - |
| YUV | 50.06 | 169.16 | 122.25 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 40 | 123 | 0.66 | 0.67 | 0 | 0.52 | 241.45 | 0.51 | 0.32 |
| Hex | 2A | 28 | 7B | 42 | 43 | 0 | 34 | F1 | 33 | 20 |
| Octal | 52 | 50 | 173 | 102 | 103 | 0 | 64 | 361 | 63 | 40 |
| Binary | 101010 | 101000 | 1111011 | 1000010 | 1000011 | 0 | 110100 | 11110001 | 110011 | 100000 |
Color Harmonies of #2A287B
Complementary color
Monochromatic Colors of #2A287B
Black with #2A287B
Text Example
Text Example
White with #2A287B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A287B; }
p { color: rgb(42,40,123); }
H1.HeaderClassName
{
color: #2A287B;
}
.AnyTagClassName
{
color: #2A287B;
}
</style>
background-color css
<style>
a { background-color: #2A287B; }
a { background-color: rgb(42,40,123); }
div.DivClassName
{
background-color: #2A287B;
}
.BgClassName
{
background-color: #2A287B;
}
</style>
border-color css
<style>
span { border-color: #2A287B; }
span { border-color: rgb(42,40,123); }
td.TdClassName
{
border-color: #2A287B;
}
.TagClassName
{
border-color: #2A287B;
}
</style>