Shades of Midnight Blue #152A7E
Tints of Midnight Blue #152A7E
RGB
CMYK
RGB Variations
Color information
#152A7E (or 0x152A7E) is known color: Midnight Blue. HEX triplet: 15, 2A and 7E. RGB value is (21,42,126). Sum of RGB (Red+Green+Blue) = 21+42+126=189 (25% of max value = 765). Red value is 21 (8.59% from 255 or 11.11% from 189); Green value is 42 (16.80% from 255 or 22.22% from 189); Blue value is 126 (49.61% from 255 or 66.67% from 189); Max value from RGB is 126 - color contains mainly: blue. Hex color #152A7E is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #152A7E is #EAD581. Grayscale: #2C2C2C. Windows color (decimal): -15390082 or 8268309. OLE color: 8268309.
HSL color Cylindrical-coordinate representation of color #152A7E: hue angle of 228º degrees, saturation: 0.71, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #152A7E is Cyan = 0.83, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 21 | 42 | 126 | - |
| CMYK | 0.83 | 0.67 | 0 | 0.51 |
| HSL | 228º | 0.71% | 0.29% | - |
| HSV(B) | 228º | 0.83% | 0.49% | - |
| XYZ | 4.9 | 3.32 | 20.12 | - |
| YUV | 45.3 | 173.54 | 110.67 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 42 | 126 | 0.83 | 0.67 | 0 | 0.51 | 228 | 0.71 | 0.29 |
| Hex | 15 | 2A | 7E | 53 | 43 | 0 | 33 | E4 | 47 | 1D |
| Octal | 25 | 52 | 176 | 123 | 103 | 0 | 63 | 344 | 107 | 35 |
| Binary | 10101 | 101010 | 1111110 | 1010011 | 1000011 | 0 | 110011 | 11100100 | 1000111 | 11101 |
Color Harmonies of #152A7E
Complementary color
Monochromatic Colors of #152A7E
Black with #152A7E
Text Example
Text Example
White with #152A7E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152A7E; }
p { color: rgb(21,42,126); }
H1.HeaderClassName
{
color: #152A7E;
}
.AnyTagClassName
{
color: #152A7E;
}
</style>
background-color css
<style>
a { background-color: #152A7E; }
a { background-color: rgb(21,42,126); }
div.DivClassName
{
background-color: #152A7E;
}
.BgClassName
{
background-color: #152A7E;
}
</style>
border-color css
<style>
span { border-color: #152A7E; }
span { border-color: rgb(21,42,126); }
td.TdClassName
{
border-color: #152A7E;
}
.TagClassName
{
border-color: #152A7E;
}
</style>