Shades of Midnight Blue #1F2A68
Tints of Midnight Blue #1F2A68
RGB
CMYK
RGB Variations
Color information
#1F2A68 (or 0x1F2A68) is known color: Midnight Blue. HEX triplet: 1F, 2A and 68. RGB value is (31,42,104). Sum of RGB (Red+Green+Blue) = 31+42+104=177 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.51% from 177); Green value is 42 (16.80% from 255 or 23.73% from 177); Blue value is 104 (41.02% from 255 or 58.76% from 177); Max value from RGB is 104 - color contains mainly: blue. Hex color #1F2A68 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2A68 is #E0D597. Grayscale: #2D2D2D. Windows color (decimal): -14734744 or 6826527. OLE color: 6826527.
HSL color Cylindrical-coordinate representation of color #1F2A68: hue angle of 230.96º degrees, saturation: 0.54, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.41% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #1F2A68 is Cyan = 0.70, Magento = 0.60, Yellow = 0 and Black (K on CMYK) = 0.59.
Color convert
| RGB | 31 | 42 | 104 | - |
| CMYK | 0.70 | 0.60 | 0 | 0.59 |
| HSL | 230.96º | 0.54% | 0.26% | - |
| HSV(B) | 230.96º | 0.7% | 0.41% | - |
| XYZ | 3.89 | 2.95 | 13.46 | - |
| YUV | 45.78 | 160.86 | 117.46 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 42 | 104 | 0.70 | 0.60 | 0 | 0.59 | 230.96 | 0.54 | 0.26 |
| Hex | 1F | 2A | 68 | 46 | 3C | 0 | 3B | E7 | 36 | 1A |
| Octal | 37 | 52 | 150 | 106 | 74 | 0 | 73 | 347 | 66 | 32 |
| Binary | 11111 | 101010 | 1101000 | 1000110 | 111100 | 0 | 111011 | 11100111 | 110110 | 11010 |
Color Harmonies of #1F2A68
Complementary color
Monochromatic Colors of #1F2A68
Black with #1F2A68
Text Example
Text Example
White with #1F2A68
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2A68; }
p { color: rgb(31,42,104); }
H1.HeaderClassName
{
color: #1F2A68;
}
.AnyTagClassName
{
color: #1F2A68;
}
</style>
background-color css
<style>
a { background-color: #1F2A68; }
a { background-color: rgb(31,42,104); }
div.DivClassName
{
background-color: #1F2A68;
}
.BgClassName
{
background-color: #1F2A68;
}
</style>
border-color css
<style>
span { border-color: #1F2A68; }
span { border-color: rgb(31,42,104); }
td.TdClassName
{
border-color: #1F2A68;
}
.TagClassName
{
border-color: #1F2A68;
}
</style>