Shades of Midnight Blue #1F2A6F
Tints of Midnight Blue #1F2A6F
RGB
CMYK
RGB Variations
Color information
#1F2A6F (or 0x1F2A6F) is known color: Midnight Blue. HEX triplet: 1F, 2A and 6F. RGB value is (31,42,111). Sum of RGB (Red+Green+Blue) = 31+42+111=184 (24% of max value = 765). Red value is 31 (12.5% from 255 or 16.85% from 184); Green value is 42 (16.80% from 255 or 22.83% from 184); Blue value is 111 (43.75% from 255 or 60.33% from 184); Max value from RGB is 111 - color contains mainly: blue. Hex color #1F2A6F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2A6F is #E0D590. Grayscale: #2E2E2E. Windows color (decimal): -14734737 or 7285279. OLE color: 7285279.
HSL color Cylindrical-coordinate representation of color #1F2A6F: hue angle of 231.75º degrees, saturation: 0.56, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #1F2A6F is Cyan = 0.72, Magento = 0.62, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 31 | 42 | 111 | - |
| CMYK | 0.72 | 0.62 | 0 | 0.56 |
| HSL | 231.75º | 0.56% | 0.28% | - |
| HSV(B) | 231.75º | 0.72% | 0.44% | - |
| XYZ | 4.26 | 3.09 | 15.41 | - |
| YUV | 46.58 | 164.36 | 116.89 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 42 | 111 | 0.72 | 0.62 | 0 | 0.56 | 231.75 | 0.56 | 0.28 |
| Hex | 1F | 2A | 6F | 48 | 3E | 0 | 38 | E8 | 38 | 1C |
| Octal | 37 | 52 | 157 | 110 | 76 | 0 | 70 | 350 | 70 | 34 |
| Binary | 11111 | 101010 | 1101111 | 1001000 | 111110 | 0 | 111000 | 11101000 | 111000 | 11100 |
Color Harmonies of #1F2A6F
Complementary color
Monochromatic Colors of #1F2A6F
Black with #1F2A6F
Text Example
Text Example
White with #1F2A6F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2A6F; }
p { color: rgb(31,42,111); }
H1.HeaderClassName
{
color: #1F2A6F;
}
.AnyTagClassName
{
color: #1F2A6F;
}
</style>
background-color css
<style>
a { background-color: #1F2A6F; }
a { background-color: rgb(31,42,111); }
div.DivClassName
{
background-color: #1F2A6F;
}
.BgClassName
{
background-color: #1F2A6F;
}
</style>
border-color css
<style>
span { border-color: #1F2A6F; }
span { border-color: rgb(31,42,111); }
td.TdClassName
{
border-color: #1F2A6F;
}
.TagClassName
{
border-color: #1F2A6F;
}
</style>