Shades of Midnight Blue #1F286A
Tints of Midnight Blue #1F286A
RGB
CMYK
RGB Variations
Color information
#1F286A (or 0x1F286A) is known color: Midnight Blue. HEX triplet: 1F, 28 and 6A. RGB value is (31,40,106). Sum of RGB (Red+Green+Blue) = 31+40+106=177 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.51% from 177); Green value is 40 (16.02% from 255 or 22.60% from 177); Blue value is 106 (41.80% from 255 or 59.89% from 177); Max value from RGB is 106 - color contains mainly: blue. Hex color #1F286A is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F286A is #E0D795. Grayscale: #2C2C2C. Windows color (decimal): -14735254 or 6957087. OLE color: 6957087.
HSL color Cylindrical-coordinate representation of color #1F286A: hue angle of 232.8º 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 #1F286A is Cyan = 0.71, Magento = 0.62, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 31 | 40 | 106 | - |
| CMYK | 0.71 | 0.62 | 0 | 0.58 |
| HSL | 232.8º | 0.55% | 0.27% | - |
| HSV(B) | 232.8º | 0.71% | 0.42% | - |
| XYZ | 3.93 | 2.85 | 13.98 | - |
| YUV | 44.83 | 162.52 | 118.13 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 40 | 106 | 0.71 | 0.62 | 0 | 0.58 | 232.8 | 0.55 | 0.27 |
| Hex | 1F | 28 | 6A | 47 | 3E | 0 | 3A | E9 | 37 | 1B |
| Octal | 37 | 50 | 152 | 107 | 76 | 0 | 72 | 351 | 67 | 33 |
| Binary | 11111 | 101000 | 1101010 | 1000111 | 111110 | 0 | 111010 | 11101001 | 110111 | 11011 |
Color Harmonies of #1F286A
Complementary color
Monochromatic Colors of #1F286A
Black with #1F286A
Text Example
Text Example
White with #1F286A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F286A; }
p { color: rgb(31,40,106); }
H1.HeaderClassName
{
color: #1F286A;
}
.AnyTagClassName
{
color: #1F286A;
}
</style>
background-color css
<style>
a { background-color: #1F286A; }
a { background-color: rgb(31,40,106); }
div.DivClassName
{
background-color: #1F286A;
}
.BgClassName
{
background-color: #1F286A;
}
</style>
border-color css
<style>
span { border-color: #1F286A; }
span { border-color: rgb(31,40,106); }
td.TdClassName
{
border-color: #1F286A;
}
.TagClassName
{
border-color: #1F286A;
}
</style>