Shades of Midnight Blue #1F237F
Tints of Midnight Blue #1F237F
RGB
CMYK
RGB Variations
Color information
#1F237F (or 0x1F237F) is known color: Midnight Blue. HEX triplet: 1F, 23 and 7F. RGB value is (31,35,127). Sum of RGB (Red+Green+Blue) = 31+35+127=193 (25% of max value = 765). Red value is 31 (12.5% from 255 or 16.06% from 193); Green value is 35 (14.06% from 255 or 18.13% from 193); Blue value is 127 (50% from 255 or 65.80% from 193); Max value from RGB is 127 - color contains mainly: blue. Hex color #1F237F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F237F is #E0DC80. Grayscale: #2B2B2B. Windows color (decimal): -14736513 or 8332063. OLE color: 8332063.
HSL color Cylindrical-coordinate representation of color #1F237F: hue angle of 237.5º 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 #1F237F is Cyan = 0.76, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 31 | 35 | 127 | - |
| CMYK | 0.76 | 0.72 | 0 | 0.50 |
| HSL | 237.5º | 0.61% | 0.31% | - |
| HSV(B) | 237.5º | 0.76% | 0.5% | - |
| XYZ | 5 | 3.03 | 20.4 | - |
| YUV | 44.29 | 174.67 | 118.52 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 35 | 127 | 0.76 | 0.72 | 0 | 0.50 | 237.5 | 0.61 | 0.31 |
| Hex | 1F | 23 | 7F | 4C | 48 | 0 | 32 | EE | 3D | 1F |
| Octal | 37 | 43 | 177 | 114 | 110 | 0 | 62 | 356 | 75 | 37 |
| Binary | 11111 | 100011 | 1111111 | 1001100 | 1001000 | 0 | 110010 | 11101110 | 111101 | 11111 |
Color Harmonies of #1F237F
Complementary color
Monochromatic Colors of #1F237F
Black with #1F237F
Text Example
Text Example
White with #1F237F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F237F; }
p { color: rgb(31,35,127); }
H1.HeaderClassName
{
color: #1F237F;
}
.AnyTagClassName
{
color: #1F237F;
}
</style>
background-color css
<style>
a { background-color: #1F237F; }
a { background-color: rgb(31,35,127); }
div.DivClassName
{
background-color: #1F237F;
}
.BgClassName
{
background-color: #1F237F;
}
</style>
border-color css
<style>
span { border-color: #1F237F; }
span { border-color: rgb(31,35,127); }
td.TdClassName
{
border-color: #1F237F;
}
.TagClassName
{
border-color: #1F237F;
}
</style>