Shades of Midnight Blue #1F267B
Tints of Midnight Blue #1F267B
RGB
CMYK
RGB Variations
Color information
#1F267B (or 0x1F267B) is known color: Midnight Blue. HEX triplet: 1F, 26 and 7B. RGB value is (31,38,123). Sum of RGB (Red+Green+Blue) = 31+38+123=192 (25% of max value = 765). Red value is 31 (12.5% from 255 or 16.15% from 192); Green value is 38 (15.23% from 255 or 19.79% from 192); Blue value is 123 (48.44% from 255 or 64.06% from 192); Max value from RGB is 123 - color contains mainly: blue. Hex color #1F267B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F267B is #E0D984. Grayscale: #2D2D2D. Windows color (decimal): -14735749 or 8070687. OLE color: 8070687.
HSL color Cylindrical-coordinate representation of color #1F267B: hue angle of 235.43º degrees, saturation: 0.6, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #1F267B is Cyan = 0.75, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 31 | 38 | 123 | - |
| CMYK | 0.75 | 0.69 | 0 | 0.52 |
| HSL | 235.43º | 0.6% | 0.3% | - |
| HSV(B) | 235.43º | 0.75% | 0.48% | - |
| XYZ | 4.83 | 3.11 | 19.08 | - |
| YUV | 45.6 | 171.68 | 117.59 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 38 | 123 | 0.75 | 0.69 | 0 | 0.52 | 235.43 | 0.6 | 0.3 |
| Hex | 1F | 26 | 7B | 4B | 45 | 0 | 34 | EB | 3C | 1E |
| Octal | 37 | 46 | 173 | 113 | 105 | 0 | 64 | 353 | 74 | 36 |
| Binary | 11111 | 100110 | 1111011 | 1001011 | 1000101 | 0 | 110100 | 11101011 | 111100 | 11110 |
Color Harmonies of #1F267B
Complementary color
Monochromatic Colors of #1F267B
Black with #1F267B
Text Example
Text Example
White with #1F267B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F267B; }
p { color: rgb(31,38,123); }
H1.HeaderClassName
{
color: #1F267B;
}
.AnyTagClassName
{
color: #1F267B;
}
</style>
background-color css
<style>
a { background-color: #1F267B; }
a { background-color: rgb(31,38,123); }
div.DivClassName
{
background-color: #1F267B;
}
.BgClassName
{
background-color: #1F267B;
}
</style>
border-color css
<style>
span { border-color: #1F267B; }
span { border-color: rgb(31,38,123); }
td.TdClassName
{
border-color: #1F267B;
}
.TagClassName
{
border-color: #1F267B;
}
</style>