Shades of Midnight Blue #1F276A
Tints of Midnight Blue #1F276A
RGB
CMYK
RGB Variations
Color information
#1F276A (or 0x1F276A) is known color: Midnight Blue. HEX triplet: 1F, 27 and 6A. RGB value is (31,39,106). Sum of RGB (Red+Green+Blue) = 31+39+106=176 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.61% from 176); Green value is 39 (15.62% from 255 or 22.16% from 176); Blue value is 106 (41.80% from 255 or 60.23% from 176); Max value from RGB is 106 - color contains mainly: blue. Hex color #1F276A is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F276A is #E0D895. Grayscale: #2B2B2B. Windows color (decimal): -14735510 or 6956831. OLE color: 6956831.
HSL color Cylindrical-coordinate representation of color #1F276A: hue angle of 233.6º degrees, saturation: 0.55, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.71%. Process color model (Four color, CMYK) of #1F276A is Cyan = 0.71, Magento = 0.63, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 31 | 39 | 106 | - |
| CMYK | 0.71 | 0.63 | 0 | 0.58 |
| HSL | 233.6º | 0.55% | 0.27% | - |
| HSV(B) | 233.6º | 0.71% | 0.42% | - |
| XYZ | 3.89 | 2.78 | 13.97 | - |
| YUV | 44.25 | 162.85 | 118.55 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 39 | 106 | 0.71 | 0.63 | 0 | 0.58 | 233.6 | 0.55 | 0.27 |
| Hex | 1F | 27 | 6A | 47 | 3F | 0 | 3A | EA | 37 | 1B |
| Octal | 37 | 47 | 152 | 107 | 77 | 0 | 72 | 352 | 67 | 33 |
| Binary | 11111 | 100111 | 1101010 | 1000111 | 111111 | 0 | 111010 | 11101010 | 110111 | 11011 |
Color Harmonies of #1F276A
Complementary color
Monochromatic Colors of #1F276A
Black with #1F276A
Text Example
Text Example
White with #1F276A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F276A; }
p { color: rgb(31,39,106); }
H1.HeaderClassName
{
color: #1F276A;
}
.AnyTagClassName
{
color: #1F276A;
}
</style>
background-color css
<style>
a { background-color: #1F276A; }
a { background-color: rgb(31,39,106); }
div.DivClassName
{
background-color: #1F276A;
}
.BgClassName
{
background-color: #1F276A;
}
</style>
border-color css
<style>
span { border-color: #1F276A; }
span { border-color: rgb(31,39,106); }
td.TdClassName
{
border-color: #1F276A;
}
.TagClassName
{
border-color: #1F276A;
}
</style>