Shades of Midnight Blue #2A277D
Tints of Midnight Blue #2A277D
RGB
CMYK
RGB Variations
Color information
#2A277D (or 0x2A277D) is known color: Midnight Blue. HEX triplet: 2A, 27 and 7D. RGB value is (42,39,125). Sum of RGB (Red+Green+Blue) = 42+39+125=206 (27% of max value = 765). Red value is 42 (16.80% from 255 or 20.39% from 206); Green value is 39 (15.62% from 255 or 18.93% from 206); Blue value is 125 (49.22% from 255 or 60.68% from 206); Max value from RGB is 125 - color contains mainly: blue. Hex color #2A277D is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A277D is #D5D882. Grayscale: #313131. Windows color (decimal): -14014595 or 8202026. OLE color: 8202026.
HSL color Cylindrical-coordinate representation of color #2A277D: hue angle of 242.09º degrees, saturation: 0.52, lightness: 0.32%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.69%. Process color model (Four color, CMYK) of #2A277D is Cyan = 0.66, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 42 | 39 | 125 | - |
| CMYK | 0.66 | 0.69 | 0 | 0.51 |
| HSL | 242.09º | 0.52% | 0.32% | - |
| HSV(B) | 242.09º | 0.69% | 0.49% | - |
| XYZ | 5.38 | 3.42 | 19.78 | - |
| YUV | 49.7 | 170.49 | 122.51 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 39 | 125 | 0.66 | 0.69 | 0 | 0.51 | 242.09 | 0.52 | 0.32 |
| Hex | 2A | 27 | 7D | 42 | 45 | 0 | 33 | F2 | 34 | 20 |
| Octal | 52 | 47 | 175 | 102 | 105 | 0 | 63 | 362 | 64 | 40 |
| Binary | 101010 | 100111 | 1111101 | 1000010 | 1000101 | 0 | 110011 | 11110010 | 110100 | 100000 |
Color Harmonies of #2A277D
Complementary color
Monochromatic Colors of #2A277D
Black with #2A277D
Text Example
Text Example
White with #2A277D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A277D; }
p { color: rgb(42,39,125); }
H1.HeaderClassName
{
color: #2A277D;
}
.AnyTagClassName
{
color: #2A277D;
}
</style>
background-color css
<style>
a { background-color: #2A277D; }
a { background-color: rgb(42,39,125); }
div.DivClassName
{
background-color: #2A277D;
}
.BgClassName
{
background-color: #2A277D;
}
</style>
border-color css
<style>
span { border-color: #2A277D; }
span { border-color: rgb(42,39,125); }
td.TdClassName
{
border-color: #2A277D;
}
.TagClassName
{
border-color: #2A277D;
}
</style>