Shades of New Midnight Blue #040FA5
Tints of New Midnight Blue #040FA5
RGB
CMYK
RGB Variations
Color information
#040FA5 (or 0x040FA5) is known color: New Midnight Blue. HEX triplet: 04, 0F and A5. RGB value is (4,15,165). Sum of RGB (Red+Green+Blue) = 4+15+165=184 (24% of max value = 765). Red value is 4 (1.95% from 255 or 2.17% from 184); Green value is 15 (6.25% from 255 or 8.15% from 184); Blue value is 165 (64.84% from 255 or 89.67% from 184); Max value from RGB is 165 - color contains mainly: blue. Hex color #040FA5 is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #040FA5 is #FBF05A. Grayscale: #1C1C1C. Windows color (decimal): -16511067 or 10817284. OLE color: 10817284.
HSL color Cylindrical-coordinate representation of color #040FA5: hue angle of 235.9º degrees, saturation: 0.95, lightness: 0.33%. HSV value (or HSB Brightness) of color is 0.65% and HSV saturation: 0.98%. Process color model (Four color, CMYK) of #040FA5 is Cyan = 0.98, Magento = 0.91, Yellow = 0 and Black (K on CMYK) = 0.35.
Color convert
| RGB | 4 | 15 | 165 | - |
| CMYK | 0.98 | 0.91 | 0 | 0.35 |
| HSL | 235.9º | 0.95% | 0.33% | - |
| HSV(B) | 235.9º | 0.98% | 0.65% | - |
| XYZ | 7.01 | 3.08 | 35.82 | - |
| YUV | 28.81 | 204.86 | 110.3 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 15 | 165 | 0.98 | 0.91 | 0 | 0.35 | 235.9 | 0.95 | 0.33 |
| Hex | 4 | F | A5 | 62 | 5B | 0 | 23 | EC | 5F | 21 |
| Octal | 4 | 17 | 245 | 142 | 133 | 0 | 43 | 354 | 137 | 41 |
| Binary | 100 | 1111 | 10100101 | 1100010 | 1011011 | 0 | 100011 | 11101100 | 1011111 | 100001 |
Color Harmonies of #040FA5
Complementary color
Monochromatic Colors of #040FA5
Black with #040FA5
Text Example
Text Example
White with #040FA5
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040FA5; }
p { color: rgb(4,15,165); }
H1.HeaderClassName
{
color: #040FA5;
}
.AnyTagClassName
{
color: #040FA5;
}
</style>
background-color css
<style>
a { background-color: #040FA5; }
a { background-color: rgb(4,15,165); }
div.DivClassName
{
background-color: #040FA5;
}
.BgClassName
{
background-color: #040FA5;
}
</style>
border-color css
<style>
span { border-color: #040FA5; }
span { border-color: rgb(4,15,165); }
td.TdClassName
{
border-color: #040FA5;
}
.TagClassName
{
border-color: #040FA5;
}
</style>