Shades of New Midnight Blue #040F9A
Tints of New Midnight Blue #040F9A
RGB
CMYK
RGB Variations
Color information
#040F9A (or 0x040F9A) is known color: New Midnight Blue. HEX triplet: 04, 0F and 9A. RGB value is (4,15,154). Sum of RGB (Red+Green+Blue) = 4+15+154=173 (22% of max value = 765). Red value is 4 (1.95% from 255 or 2.31% from 173); Green value is 15 (6.25% from 255 or 8.67% from 173); Blue value is 154 (60.55% from 255 or 89.02% from 173); Max value from RGB is 154 - color contains mainly: blue. Hex color #040F9A is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #040F9A is #FBF065. Grayscale: #1A1A1A. Windows color (decimal): -16511078 or 10096388. OLE color: 10096388.
HSL color Cylindrical-coordinate representation of color #040F9A: hue angle of 235.6º degrees, saturation: 0.95, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.6% and HSV saturation: 0.97%. Process color model (Four color, CMYK) of #040F9A is Cyan = 0.97, Magento = 0.90, Yellow = 0 and Black (K on CMYK) = 0.40.
Color convert
| RGB | 4 | 15 | 154 | - |
| CMYK | 0.97 | 0.90 | 0 | 0.40 |
| HSL | 235.6º | 0.95% | 0.31% | - |
| HSV(B) | 235.6º | 0.97% | 0.6% | - |
| XYZ | 6.05 | 2.7 | 30.77 | - |
| YUV | 27.56 | 199.36 | 111.2 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 15 | 154 | 0.97 | 0.90 | 0 | 0.40 | 235.6 | 0.95 | 0.31 |
| Hex | 4 | F | 9A | 61 | 5A | 0 | 28 | EC | 5F | 1F |
| Octal | 4 | 17 | 232 | 141 | 132 | 0 | 50 | 354 | 137 | 37 |
| Binary | 100 | 1111 | 10011010 | 1100001 | 1011010 | 0 | 101000 | 11101100 | 1011111 | 11111 |
Color Harmonies of #040F9A
Complementary color
Monochromatic Colors of #040F9A
Black with #040F9A
Text Example
Text Example
White with #040F9A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040F9A; }
p { color: rgb(4,15,154); }
H1.HeaderClassName
{
color: #040F9A;
}
.AnyTagClassName
{
color: #040F9A;
}
</style>
background-color css
<style>
a { background-color: #040F9A; }
a { background-color: rgb(4,15,154); }
div.DivClassName
{
background-color: #040F9A;
}
.BgClassName
{
background-color: #040F9A;
}
</style>
border-color css
<style>
span { border-color: #040F9A; }
span { border-color: rgb(4,15,154); }
td.TdClassName
{
border-color: #040F9A;
}
.TagClassName
{
border-color: #040F9A;
}
</style>