Shades of Midnight Blue #1F257F
Tints of Midnight Blue #1F257F
RGB
CMYK
RGB Variations
Color information
#1F257F (or 0x1F257F) is known color: Midnight Blue. HEX triplet: 1F, 25 and 7F. RGB value is (31,37,127). Sum of RGB (Red+Green+Blue) = 31+37+127=195 (25% of max value = 765). Red value is 31 (12.5% from 255 or 15.90% from 195); Green value is 37 (14.84% from 255 or 18.97% from 195); Blue value is 127 (50% from 255 or 65.13% from 195); Max value from RGB is 127 - color contains mainly: blue. Hex color #1F257F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F257F is #E0DA80. Grayscale: #2D2D2D. Windows color (decimal): -14736001 or 8332575. OLE color: 8332575.
HSL color Cylindrical-coordinate representation of color #1F257F: hue angle of 236.25º degrees, saturation: 0.61, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #1F257F is Cyan = 0.76, Magento = 0.71, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 31 | 37 | 127 | - |
| CMYK | 0.76 | 0.71 | 0 | 0.50 |
| HSL | 236.25º | 0.61% | 0.31% | - |
| HSV(B) | 236.25º | 0.76% | 0.5% | - |
| XYZ | 5.06 | 3.15 | 20.42 | - |
| YUV | 45.47 | 174.01 | 117.68 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 37 | 127 | 0.76 | 0.71 | 0 | 0.50 | 236.25 | 0.61 | 0.31 |
| Hex | 1F | 25 | 7F | 4C | 47 | 0 | 32 | EC | 3D | 1F |
| Octal | 37 | 45 | 177 | 114 | 107 | 0 | 62 | 354 | 75 | 37 |
| Binary | 11111 | 100101 | 1111111 | 1001100 | 1000111 | 0 | 110010 | 11101100 | 111101 | 11111 |
Color Harmonies of #1F257F
Complementary color
Monochromatic Colors of #1F257F
Black with #1F257F
Text Example
Text Example
White with #1F257F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F257F; }
p { color: rgb(31,37,127); }
H1.HeaderClassName
{
color: #1F257F;
}
.AnyTagClassName
{
color: #1F257F;
}
</style>
background-color css
<style>
a { background-color: #1F257F; }
a { background-color: rgb(31,37,127); }
div.DivClassName
{
background-color: #1F257F;
}
.BgClassName
{
background-color: #1F257F;
}
</style>
border-color css
<style>
span { border-color: #1F257F; }
span { border-color: rgb(31,37,127); }
td.TdClassName
{
border-color: #1F257F;
}
.TagClassName
{
border-color: #1F257F;
}
</style>