Shades of Midnight Blue #152A7F
Tints of Midnight Blue #152A7F
RGB
CMYK
RGB Variations
Color information
#152A7F (or 0x152A7F) is known color: Midnight Blue. HEX triplet: 15, 2A and 7F. RGB value is (21,42,127). Sum of RGB (Red+Green+Blue) = 21+42+127=190 (25% of max value = 765). Red value is 21 (8.59% from 255 or 11.05% from 190); Green value is 42 (16.80% from 255 or 22.11% from 190); Blue value is 127 (50% from 255 or 66.84% from 190); Max value from RGB is 127 - color contains mainly: blue. Hex color #152A7F is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #152A7F is #EAD580. Grayscale: #2D2D2D. Windows color (decimal): -15390081 or 8333845. OLE color: 8333845.
HSL color Cylindrical-coordinate representation of color #152A7F: hue angle of 228.11º degrees, saturation: 0.72, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #152A7F is Cyan = 0.83, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 21 | 42 | 127 | - |
| CMYK | 0.83 | 0.67 | 0 | 0.50 |
| HSL | 228.11º | 0.72% | 0.29% | - |
| HSV(B) | 228.11º | 0.83% | 0.5% | - |
| XYZ | 4.97 | 3.35 | 20.46 | - |
| YUV | 45.41 | 174.04 | 110.59 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 42 | 127 | 0.83 | 0.67 | 0 | 0.50 | 228.11 | 0.72 | 0.29 |
| Hex | 15 | 2A | 7F | 53 | 43 | 0 | 32 | E4 | 48 | 1D |
| Octal | 25 | 52 | 177 | 123 | 103 | 0 | 62 | 344 | 110 | 35 |
| Binary | 10101 | 101010 | 1111111 | 1010011 | 1000011 | 0 | 110010 | 11100100 | 1001000 | 11101 |
Color Harmonies of #152A7F
Complementary color
Monochromatic Colors of #152A7F
Black with #152A7F
Text Example
Text Example
White with #152A7F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152A7F; }
p { color: rgb(21,42,127); }
H1.HeaderClassName
{
color: #152A7F;
}
.AnyTagClassName
{
color: #152A7F;
}
</style>
background-color css
<style>
a { background-color: #152A7F; }
a { background-color: rgb(21,42,127); }
div.DivClassName
{
background-color: #152A7F;
}
.BgClassName
{
background-color: #152A7F;
}
</style>
border-color css
<style>
span { border-color: #152A7F; }
span { border-color: rgb(21,42,127); }
td.TdClassName
{
border-color: #152A7F;
}
.TagClassName
{
border-color: #152A7F;
}
</style>