Shades of Midnight Blue #1F267D
Tints of Midnight Blue #1F267D
RGB
CMYK
RGB Variations
Color information
#1F267D (or 0x1F267D) is known color: Midnight Blue. HEX triplet: 1F, 26 and 7D. RGB value is (31,38,125). Sum of RGB (Red+Green+Blue) = 31+38+125=194 (25% of max value = 765). Red value is 31 (12.5% from 255 or 15.98% from 194); Green value is 38 (15.23% from 255 or 19.59% from 194); Blue value is 125 (49.22% from 255 or 64.43% from 194); Max value from RGB is 125 - color contains mainly: blue. Hex color #1F267D is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F267D is #E0D982. Grayscale: #2D2D2D. Windows color (decimal): -14735747 or 8201759. OLE color: 8201759.
HSL color Cylindrical-coordinate representation of color #1F267D: hue angle of 235.53º degrees, saturation: 0.6, 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 #1F267D is Cyan = 0.75, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 31 | 38 | 125 | - |
| CMYK | 0.75 | 0.70 | 0 | 0.51 |
| HSL | 235.53º | 0.6% | 0.31% | - |
| HSV(B) | 235.53º | 0.75% | 0.49% | - |
| XYZ | 4.96 | 3.16 | 19.75 | - |
| YUV | 45.83 | 172.68 | 117.43 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 38 | 125 | 0.75 | 0.70 | 0 | 0.51 | 235.53 | 0.6 | 0.31 |
| Hex | 1F | 26 | 7D | 4B | 46 | 0 | 33 | EC | 3C | 1F |
| Octal | 37 | 46 | 175 | 113 | 106 | 0 | 63 | 354 | 74 | 37 |
| Binary | 11111 | 100110 | 1111101 | 1001011 | 1000110 | 0 | 110011 | 11101100 | 111100 | 11111 |
Color Harmonies of #1F267D
Complementary color
Monochromatic Colors of #1F267D
Black with #1F267D
Text Example
Text Example
White with #1F267D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F267D; }
p { color: rgb(31,38,125); }
H1.HeaderClassName
{
color: #1F267D;
}
.AnyTagClassName
{
color: #1F267D;
}
</style>
background-color css
<style>
a { background-color: #1F267D; }
a { background-color: rgb(31,38,125); }
div.DivClassName
{
background-color: #1F267D;
}
.BgClassName
{
background-color: #1F267D;
}
</style>
border-color css
<style>
span { border-color: #1F267D; }
span { border-color: rgb(31,38,125); }
td.TdClassName
{
border-color: #1F267D;
}
.TagClassName
{
border-color: #1F267D;
}
</style>