Shades of Midnight Blue #2A287F
Tints of Midnight Blue #2A287F
RGB
CMYK
RGB Variations
Color information
#2A287F (or 0x2A287F) is known color: Midnight Blue. HEX triplet: 2A, 28 and 7F. RGB value is (42,40,127). Sum of RGB (Red+Green+Blue) = 42+40+127=209 (27% of max value = 765). Red value is 42 (16.80% from 255 or 20.10% from 209); Green value is 40 (16.02% from 255 or 19.14% from 209); Blue value is 127 (50% from 255 or 60.77% from 209); Max value from RGB is 127 - color contains mainly: blue. Hex color #2A287F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A287F is #D5D780. Grayscale: #323232. Windows color (decimal): -14014337 or 8333354. OLE color: 8333354.
HSL color Cylindrical-coordinate representation of color #2A287F: hue angle of 241.38º degrees, saturation: 0.52, lightness: 0.33%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.69%. Process color model (Four color, CMYK) of #2A287F is Cyan = 0.67, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 42 | 40 | 127 | - |
| CMYK | 0.67 | 0.69 | 0 | 0.50 |
| HSL | 241.38º | 0.52% | 0.33% | - |
| HSV(B) | 241.38º | 0.69% | 0.5% | - |
| XYZ | 5.54 | 3.54 | 20.47 | - |
| YUV | 50.52 | 171.16 | 121.93 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 40 | 127 | 0.67 | 0.69 | 0 | 0.50 | 241.38 | 0.52 | 0.33 |
| Hex | 2A | 28 | 7F | 43 | 45 | 0 | 32 | F1 | 34 | 21 |
| Octal | 52 | 50 | 177 | 103 | 105 | 0 | 62 | 361 | 64 | 41 |
| Binary | 101010 | 101000 | 1111111 | 1000011 | 1000101 | 0 | 110010 | 11110001 | 110100 | 100001 |
Color Harmonies of #2A287F
Complementary color
Monochromatic Colors of #2A287F
Black with #2A287F
Text Example
Text Example
White with #2A287F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A287F; }
p { color: rgb(42,40,127); }
H1.HeaderClassName
{
color: #2A287F;
}
.AnyTagClassName
{
color: #2A287F;
}
</style>
background-color css
<style>
a { background-color: #2A287F; }
a { background-color: rgb(42,40,127); }
div.DivClassName
{
background-color: #2A287F;
}
.BgClassName
{
background-color: #2A287F;
}
</style>
border-color css
<style>
span { border-color: #2A287F; }
span { border-color: rgb(42,40,127); }
td.TdClassName
{
border-color: #2A287F;
}
.TagClassName
{
border-color: #2A287F;
}
</style>