Shades of Midnight Blue #2A2374
Tints of Midnight Blue #2A2374
RGB
CMYK
RGB Variations
Color information
#2A2374 (or 0x2A2374) is known color: Midnight Blue. HEX triplet: 2A, 23 and 74. RGB value is (42,35,116). Sum of RGB (Red+Green+Blue) = 42+35+116=193 (25% of max value = 765). Red value is 42 (16.80% from 255 or 21.76% from 193); Green value is 35 (14.06% from 255 or 18.13% from 193); Blue value is 116 (45.70% from 255 or 60.10% from 193); Max value from RGB is 116 - color contains mainly: blue. Hex color #2A2374 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A2374 is #D5DC8B. Grayscale: #2E2E2E. Windows color (decimal): -14015628 or 7611178. OLE color: 7611178.
HSL color Cylindrical-coordinate representation of color #2A2374: hue angle of 245.19º degrees, saturation: 0.54, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.45% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #2A2374 is Cyan = 0.64, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.55.
Color convert
| RGB | 42 | 35 | 116 | - |
| CMYK | 0.64 | 0.70 | 0 | 0.55 |
| HSL | 245.19º | 0.54% | 0.3% | - |
| HSV(B) | 245.19º | 0.7% | 0.45% | - |
| XYZ | 4.71 | 2.96 | 16.85 | - |
| YUV | 46.33 | 167.32 | 124.91 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 35 | 116 | 0.64 | 0.70 | 0 | 0.55 | 245.19 | 0.54 | 0.3 |
| Hex | 2A | 23 | 74 | 40 | 46 | 0 | 37 | F5 | 36 | 1E |
| Octal | 52 | 43 | 164 | 100 | 106 | 0 | 67 | 365 | 66 | 36 |
| Binary | 101010 | 100011 | 1110100 | 1000000 | 1000110 | 0 | 110111 | 11110101 | 110110 | 11110 |
Color Harmonies of #2A2374
Complementary color
Monochromatic Colors of #2A2374
Black with #2A2374
Text Example
Text Example
White with #2A2374
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A2374; }
p { color: rgb(42,35,116); }
H1.HeaderClassName
{
color: #2A2374;
}
.AnyTagClassName
{
color: #2A2374;
}
</style>
background-color css
<style>
a { background-color: #2A2374; }
a { background-color: rgb(42,35,116); }
div.DivClassName
{
background-color: #2A2374;
}
.BgClassName
{
background-color: #2A2374;
}
</style>
border-color css
<style>
span { border-color: #2A2374; }
span { border-color: rgb(42,35,116); }
td.TdClassName
{
border-color: #2A2374;
}
.TagClassName
{
border-color: #2A2374;
}
</style>