Shades of Midnight Blue #2A247B
Tints of Midnight Blue #2A247B
RGB
CMYK
RGB Variations
Color information
#2A247B (or 0x2A247B) is known color: Midnight Blue. HEX triplet: 2A, 24 and 7B. RGB value is (42,36,123). Sum of RGB (Red+Green+Blue) = 42+36+123=201 (26% of max value = 765). Red value is 42 (16.80% from 255 or 20.90% from 201); Green value is 36 (14.45% from 255 or 17.91% from 201); Blue value is 123 (48.44% from 255 or 61.19% from 201); Max value from RGB is 123 - color contains mainly: blue. Hex color #2A247B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A247B is #D5DB84. Grayscale: #2F2F2F. Windows color (decimal): -14015365 or 8070186. OLE color: 8070186.
HSL color Cylindrical-coordinate representation of color #2A247B: hue angle of 244.14º degrees, saturation: 0.55, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.71%. Process color model (Four color, CMYK) of #2A247B is Cyan = 0.66, Magento = 0.71, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 42 | 36 | 123 | - |
| CMYK | 0.66 | 0.71 | 0 | 0.52 |
| HSL | 244.14º | 0.55% | 0.31% | - |
| HSV(B) | 244.14º | 0.71% | 0.48% | - |
| XYZ | 5.16 | 3.18 | 19.08 | - |
| YUV | 47.71 | 170.49 | 123.93 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 36 | 123 | 0.66 | 0.71 | 0 | 0.52 | 244.14 | 0.55 | 0.31 |
| Hex | 2A | 24 | 7B | 42 | 47 | 0 | 34 | F4 | 37 | 1F |
| Octal | 52 | 44 | 173 | 102 | 107 | 0 | 64 | 364 | 67 | 37 |
| Binary | 101010 | 100100 | 1111011 | 1000010 | 1000111 | 0 | 110100 | 11110100 | 110111 | 11111 |
Color Harmonies of #2A247B
Complementary color
Monochromatic Colors of #2A247B
Black with #2A247B
Text Example
Text Example
White with #2A247B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A247B; }
p { color: rgb(42,36,123); }
H1.HeaderClassName
{
color: #2A247B;
}
.AnyTagClassName
{
color: #2A247B;
}
</style>
background-color css
<style>
a { background-color: #2A247B; }
a { background-color: rgb(42,36,123); }
div.DivClassName
{
background-color: #2A247B;
}
.BgClassName
{
background-color: #2A247B;
}
</style>
border-color css
<style>
span { border-color: #2A247B; }
span { border-color: rgb(42,36,123); }
td.TdClassName
{
border-color: #2A247B;
}
.TagClassName
{
border-color: #2A247B;
}
</style>