Shades of Midnight Blue #152A85
Tints of Midnight Blue #152A85
RGB
CMYK
RGB Variations
Color information
#152A85 (or 0x152A85) is known color: Midnight Blue. HEX triplet: 15, 2A and 85. RGB value is (21,42,133). Sum of RGB (Red+Green+Blue) = 21+42+133=196 (25% of max value = 765). Red value is 21 (8.59% from 255 or 10.71% from 196); Green value is 42 (16.80% from 255 or 21.43% from 196); Blue value is 133 (52.34% from 255 or 67.86% from 196); Max value from RGB is 133 - color contains mainly: blue. Hex color #152A85 is not a web safe color. Web safe color analog (approx): #003399. Inversed color of #152A85 is #EAD57A. Grayscale: #2D2D2D. Windows color (decimal): -15390075 or 8727061. OLE color: 8727061.
HSL color Cylindrical-coordinate representation of color #152A85: hue angle of 228.75º degrees, saturation: 0.73, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.52% and HSV saturation: 0.84%. Process color model (Four color, CMYK) of #152A85 is Cyan = 0.84, Magento = 0.68, Yellow = 0 and Black (K on CMYK) = 0.48.
Color convert
| RGB | 21 | 42 | 133 | - |
| CMYK | 0.84 | 0.68 | 0 | 0.48 |
| HSL | 228.75º | 0.73% | 0.3% | - |
| HSV(B) | 228.75º | 0.84% | 0.52% | - |
| XYZ | 5.37 | 3.51 | 22.58 | - |
| YUV | 46.1 | 177.04 | 110.1 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 42 | 133 | 0.84 | 0.68 | 0 | 0.48 | 228.75 | 0.73 | 0.3 |
| Hex | 15 | 2A | 85 | 54 | 44 | 0 | 30 | E5 | 49 | 1E |
| Octal | 25 | 52 | 205 | 124 | 104 | 0 | 60 | 345 | 111 | 36 |
| Binary | 10101 | 101010 | 10000101 | 1010100 | 1000100 | 0 | 110000 | 11100101 | 1001001 | 11110 |
Color Harmonies of #152A85
Complementary color
Monochromatic Colors of #152A85
Black with #152A85
Text Example
Text Example
White with #152A85
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152A85; }
p { color: rgb(21,42,133); }
H1.HeaderClassName
{
color: #152A85;
}
.AnyTagClassName
{
color: #152A85;
}
</style>
background-color css
<style>
a { background-color: #152A85; }
a { background-color: rgb(21,42,133); }
div.DivClassName
{
background-color: #152A85;
}
.BgClassName
{
background-color: #152A85;
}
</style>
border-color css
<style>
span { border-color: #152A85; }
span { border-color: rgb(21,42,133); }
td.TdClassName
{
border-color: #152A85;
}
.TagClassName
{
border-color: #152A85;
}
</style>