Shades of Midnight Blue #1F256F
Tints of Midnight Blue #1F256F
RGB
CMYK
RGB Variations
Color information
#1F256F (or 0x1F256F) is known color: Midnight Blue. HEX triplet: 1F, 25 and 6F. RGB value is (31,37,111). Sum of RGB (Red+Green+Blue) = 31+37+111=179 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.32% from 179); Green value is 37 (14.84% from 255 or 20.67% from 179); Blue value is 111 (43.75% from 255 or 62.01% from 179); Max value from RGB is 111 - color contains mainly: blue. Hex color #1F256F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F256F is #E0DA90. Grayscale: #2B2B2B. Windows color (decimal): -14736017 or 7283999. OLE color: 7283999.
HSL color Cylindrical-coordinate representation of color #1F256F: hue angle of 235.5º 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 #1F256F is Cyan = 0.72, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 31 | 37 | 111 | - |
| CMYK | 0.72 | 0.67 | 0 | 0.56 |
| HSL | 235.5º | 0.56% | 0.28% | - |
| HSV(B) | 235.5º | 0.72% | 0.44% | - |
| XYZ | 4.1 | 2.76 | 15.36 | - |
| YUV | 43.64 | 166.01 | 118.98 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 37 | 111 | 0.72 | 0.67 | 0 | 0.56 | 235.5 | 0.56 | 0.28 |
| Hex | 1F | 25 | 6F | 48 | 43 | 0 | 38 | EC | 38 | 1C |
| Octal | 37 | 45 | 157 | 110 | 103 | 0 | 70 | 354 | 70 | 34 |
| Binary | 11111 | 100101 | 1101111 | 1001000 | 1000011 | 0 | 111000 | 11101100 | 111000 | 11100 |
Color Harmonies of #1F256F
Complementary color
Monochromatic Colors of #1F256F
Black with #1F256F
Text Example
Text Example
White with #1F256F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F256F; }
p { color: rgb(31,37,111); }
H1.HeaderClassName
{
color: #1F256F;
}
.AnyTagClassName
{
color: #1F256F;
}
</style>
background-color css
<style>
a { background-color: #1F256F; }
a { background-color: rgb(31,37,111); }
div.DivClassName
{
background-color: #1F256F;
}
.BgClassName
{
background-color: #1F256F;
}
</style>
border-color css
<style>
span { border-color: #1F256F; }
span { border-color: rgb(31,37,111); }
td.TdClassName
{
border-color: #1F256F;
}
.TagClassName
{
border-color: #1F256F;
}
</style>