Shades of Midnight Blue #2A2274
Tints of Midnight Blue #2A2274
RGB
CMYK
RGB Variations
Color information
#2A2274 (or 0x2A2274) is known color: Midnight Blue. HEX triplet: 2A, 22 and 74. RGB value is (42,34,116). Sum of RGB (Red+Green+Blue) = 42+34+116=192 (25% of max value = 765). Red value is 42 (16.80% from 255 or 21.88% from 192); Green value is 34 (13.67% from 255 or 17.71% from 192); Blue value is 116 (45.70% from 255 or 60.42% from 192); Max value from RGB is 116 - color contains mainly: blue. Hex color #2A2274 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A2274 is #D5DD8B. Grayscale: #2D2D2D. Windows color (decimal): -14015884 or 7610922. OLE color: 7610922.
HSL color Cylindrical-coordinate representation of color #2A2274: hue angle of 245.85º degrees, saturation: 0.55, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.45% and HSV saturation: 0.71%. Process color model (Four color, CMYK) of #2A2274 is Cyan = 0.64, Magento = 0.71, Yellow = 0 and Black (K on CMYK) = 0.55.
Color convert
| RGB | 42 | 34 | 116 | - |
| CMYK | 0.64 | 0.71 | 0 | 0.55 |
| HSL | 245.85º | 0.55% | 0.29% | - |
| HSV(B) | 245.85º | 0.71% | 0.45% | - |
| XYZ | 4.68 | 2.9 | 16.84 | - |
| YUV | 45.74 | 167.65 | 125.33 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 34 | 116 | 0.64 | 0.71 | 0 | 0.55 | 245.85 | 0.55 | 0.29 |
| Hex | 2A | 22 | 74 | 40 | 47 | 0 | 37 | F6 | 37 | 1D |
| Octal | 52 | 42 | 164 | 100 | 107 | 0 | 67 | 366 | 67 | 35 |
| Binary | 101010 | 100010 | 1110100 | 1000000 | 1000111 | 0 | 110111 | 11110110 | 110111 | 11101 |
Color Harmonies of #2A2274
Complementary color
Monochromatic Colors of #2A2274
Black with #2A2274
Text Example
Text Example
White with #2A2274
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A2274; }
p { color: rgb(42,34,116); }
H1.HeaderClassName
{
color: #2A2274;
}
.AnyTagClassName
{
color: #2A2274;
}
</style>
background-color css
<style>
a { background-color: #2A2274; }
a { background-color: rgb(42,34,116); }
div.DivClassName
{
background-color: #2A2274;
}
.BgClassName
{
background-color: #2A2274;
}
</style>
border-color css
<style>
span { border-color: #2A2274; }
span { border-color: rgb(42,34,116); }
td.TdClassName
{
border-color: #2A2274;
}
.TagClassName
{
border-color: #2A2274;
}
</style>