Shades of Midnight Blue #1F237E
Tints of Midnight Blue #1F237E
RGB
CMYK
RGB Variations
Color information
#1F237E (or 0x1F237E) is known color: Midnight Blue. HEX triplet: 1F, 23 and 7E. RGB value is (31,35,126). Sum of RGB (Red+Green+Blue) = 31+35+126=192 (25% of max value = 765). Red value is 31 (12.5% from 255 or 16.15% from 192); Green value is 35 (14.06% from 255 or 18.23% from 192); Blue value is 126 (49.61% from 255 or 65.62% from 192); Max value from RGB is 126 - color contains mainly: blue. Hex color #1F237E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F237E is #E0DC81. Grayscale: #2B2B2B. Windows color (decimal): -14736514 or 8266527. OLE color: 8266527.
HSL color Cylindrical-coordinate representation of color #1F237E: hue angle of 237.47º degrees, saturation: 0.61, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #1F237E is Cyan = 0.75, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 31 | 35 | 126 | - |
| CMYK | 0.75 | 0.72 | 0 | 0.51 |
| HSL | 237.47º | 0.61% | 0.31% | - |
| HSV(B) | 237.47º | 0.75% | 0.49% | - |
| XYZ | 4.93 | 3 | 20.06 | - |
| YUV | 44.18 | 174.17 | 118.6 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 35 | 126 | 0.75 | 0.72 | 0 | 0.51 | 237.47 | 0.61 | 0.31 |
| Hex | 1F | 23 | 7E | 4B | 48 | 0 | 33 | ED | 3D | 1F |
| Octal | 37 | 43 | 176 | 113 | 110 | 0 | 63 | 355 | 75 | 37 |
| Binary | 11111 | 100011 | 1111110 | 1001011 | 1001000 | 0 | 110011 | 11101101 | 111101 | 11111 |
Color Harmonies of #1F237E
Complementary color
Monochromatic Colors of #1F237E
Black with #1F237E
Text Example
Text Example
White with #1F237E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F237E; }
p { color: rgb(31,35,126); }
H1.HeaderClassName
{
color: #1F237E;
}
.AnyTagClassName
{
color: #1F237E;
}
</style>
background-color css
<style>
a { background-color: #1F237E; }
a { background-color: rgb(31,35,126); }
div.DivClassName
{
background-color: #1F237E;
}
.BgClassName
{
background-color: #1F237E;
}
</style>
border-color css
<style>
span { border-color: #1F237E; }
span { border-color: rgb(31,35,126); }
td.TdClassName
{
border-color: #1F237E;
}
.TagClassName
{
border-color: #1F237E;
}
</style>