Shades of Midnight Blue #1F277E
Tints of Midnight Blue #1F277E
RGB
CMYK
RGB Variations
Color information
#1F277E (or 0x1F277E) is known color: Midnight Blue. HEX triplet: 1F, 27 and 7E. RGB value is (31,39,126). Sum of RGB (Red+Green+Blue) = 31+39+126=196 (25% of max value = 765). Red value is 31 (12.5% from 255 or 15.82% from 196); Green value is 39 (15.62% from 255 or 19.90% from 196); Blue value is 126 (49.61% from 255 or 64.29% from 196); Max value from RGB is 126 - color contains mainly: blue. Hex color #1F277E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F277E is #E0D881. Grayscale: #2E2E2E. Windows color (decimal): -14735490 or 8267551. OLE color: 8267551.
HSL color Cylindrical-coordinate representation of color #1F277E: hue angle of 234.95º 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 #1F277E is Cyan = 0.75, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 31 | 39 | 126 | - |
| CMYK | 0.75 | 0.69 | 0 | 0.51 |
| HSL | 234.95º | 0.61% | 0.31% | - |
| HSV(B) | 234.95º | 0.75% | 0.49% | - |
| XYZ | 5.06 | 3.25 | 20.1 | - |
| YUV | 46.53 | 172.85 | 116.93 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 39 | 126 | 0.75 | 0.69 | 0 | 0.51 | 234.95 | 0.61 | 0.31 |
| Hex | 1F | 27 | 7E | 4B | 45 | 0 | 33 | EB | 3D | 1F |
| Octal | 37 | 47 | 176 | 113 | 105 | 0 | 63 | 353 | 75 | 37 |
| Binary | 11111 | 100111 | 1111110 | 1001011 | 1000101 | 0 | 110011 | 11101011 | 111101 | 11111 |
Color Harmonies of #1F277E
Complementary color
Monochromatic Colors of #1F277E
Black with #1F277E
Text Example
Text Example
White with #1F277E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F277E; }
p { color: rgb(31,39,126); }
H1.HeaderClassName
{
color: #1F277E;
}
.AnyTagClassName
{
color: #1F277E;
}
</style>
background-color css
<style>
a { background-color: #1F277E; }
a { background-color: rgb(31,39,126); }
div.DivClassName
{
background-color: #1F277E;
}
.BgClassName
{
background-color: #1F277E;
}
</style>
border-color css
<style>
span { border-color: #1F277E; }
span { border-color: rgb(31,39,126); }
td.TdClassName
{
border-color: #1F277E;
}
.TagClassName
{
border-color: #1F277E;
}
</style>