Shades of Midnight Blue #1F257C
Tints of Midnight Blue #1F257C
RGB
CMYK
RGB Variations
Color information
#1F257C (or 0x1F257C) is known color: Midnight Blue. HEX triplet: 1F, 25 and 7C. RGB value is (31,37,124). Sum of RGB (Red+Green+Blue) = 31+37+124=192 (25% of max value = 765). Red value is 31 (12.5% from 255 or 16.15% from 192); Green value is 37 (14.84% from 255 or 19.27% from 192); Blue value is 124 (48.83% from 255 or 64.58% from 192); Max value from RGB is 124 - color contains mainly: blue. Hex color #1F257C is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F257C is #E0DA83. Grayscale: #2C2C2C. Windows color (decimal): -14736004 or 8135967. OLE color: 8135967.
HSL color Cylindrical-coordinate representation of color #1F257C: hue angle of 236.13º degrees, saturation: 0.6, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #1F257C is Cyan = 0.75, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 31 | 37 | 124 | - |
| CMYK | 0.75 | 0.70 | 0 | 0.51 |
| HSL | 236.13º | 0.6% | 0.3% | - |
| HSV(B) | 236.13º | 0.75% | 0.49% | - |
| XYZ | 4.86 | 3.07 | 19.4 | - |
| YUV | 45.12 | 172.51 | 117.93 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 37 | 124 | 0.75 | 0.70 | 0 | 0.51 | 236.13 | 0.6 | 0.3 |
| Hex | 1F | 25 | 7C | 4B | 46 | 0 | 33 | EC | 3C | 1E |
| Octal | 37 | 45 | 174 | 113 | 106 | 0 | 63 | 354 | 74 | 36 |
| Binary | 11111 | 100101 | 1111100 | 1001011 | 1000110 | 0 | 110011 | 11101100 | 111100 | 11110 |
Color Harmonies of #1F257C
Complementary color
Monochromatic Colors of #1F257C
Black with #1F257C
Text Example
Text Example
White with #1F257C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F257C; }
p { color: rgb(31,37,124); }
H1.HeaderClassName
{
color: #1F257C;
}
.AnyTagClassName
{
color: #1F257C;
}
</style>
background-color css
<style>
a { background-color: #1F257C; }
a { background-color: rgb(31,37,124); }
div.DivClassName
{
background-color: #1F257C;
}
.BgClassName
{
background-color: #1F257C;
}
</style>
border-color css
<style>
span { border-color: #1F257C; }
span { border-color: rgb(31,37,124); }
td.TdClassName
{
border-color: #1F257C;
}
.TagClassName
{
border-color: #1F257C;
}
</style>