Shades of Midnight Blue #2A2688
Tints of Midnight Blue #2A2688
RGB
CMYK
RGB Variations
Color information
#2A2688 (or 0x2A2688) is known color: Midnight Blue. HEX triplet: 2A, 26 and 88. RGB value is (42,38,136). Sum of RGB (Red+Green+Blue) = 42+38+136=216 (28% of max value = 765). Red value is 42 (16.80% from 255 or 19.44% from 216); Green value is 38 (15.23% from 255 or 17.59% from 216); Blue value is 136 (53.52% from 255 or 62.96% from 216); Max value from RGB is 136 - color contains mainly: blue. Hex color #2A2688 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #2A2688 is #D5D977. Grayscale: #313131. Windows color (decimal): -14014840 or 8922666. OLE color: 8922666.
HSL color Cylindrical-coordinate representation of color #2A2688: hue angle of 242.45º degrees, saturation: 0.56, lightness: 0.34%. HSV value (or HSB Brightness) of color is 0.53% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #2A2688 is Cyan = 0.69, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.47.
Color convert
| RGB | 42 | 38 | 136 | - |
| CMYK | 0.69 | 0.72 | 0 | 0.47 |
| HSL | 242.45º | 0.56% | 0.34% | - |
| HSV(B) | 242.45º | 0.72% | 0.53% | - |
| XYZ | 6.09 | 3.66 | 23.68 | - |
| YUV | 50.37 | 176.33 | 122.03 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 38 | 136 | 0.69 | 0.72 | 0 | 0.47 | 242.45 | 0.56 | 0.34 |
| Hex | 2A | 26 | 88 | 45 | 48 | 0 | 2F | F2 | 38 | 22 |
| Octal | 52 | 46 | 210 | 105 | 110 | 0 | 57 | 362 | 70 | 42 |
| Binary | 101010 | 100110 | 10001000 | 1000101 | 1001000 | 0 | 101111 | 11110010 | 111000 | 100010 |
Color Harmonies of #2A2688
Complementary color
Monochromatic Colors of #2A2688
Black with #2A2688
Text Example
Text Example
White with #2A2688
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A2688; }
p { color: rgb(42,38,136); }
H1.HeaderClassName
{
color: #2A2688;
}
.AnyTagClassName
{
color: #2A2688;
}
</style>
background-color css
<style>
a { background-color: #2A2688; }
a { background-color: rgb(42,38,136); }
div.DivClassName
{
background-color: #2A2688;
}
.BgClassName
{
background-color: #2A2688;
}
</style>
border-color css
<style>
span { border-color: #2A2688; }
span { border-color: rgb(42,38,136); }
td.TdClassName
{
border-color: #2A2688;
}
.TagClassName
{
border-color: #2A2688;
}
</style>