Shades of Midnight Blue #1F2B7A
Tints of Midnight Blue #1F2B7A
RGB
CMYK
RGB Variations
Color information
#1F2B7A (or 0x1F2B7A) is known color: Midnight Blue. HEX triplet: 1F, 2B and 7A. RGB value is (31,43,122). Sum of RGB (Red+Green+Blue) = 31+43+122=196 (25% of max value = 765). Red value is 31 (12.5% from 255 or 15.82% from 196); Green value is 43 (17.19% from 255 or 21.94% from 196); Blue value is 122 (48.05% from 255 or 62.24% from 196); Max value from RGB is 122 - color contains mainly: blue. Hex color #1F2B7A is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2B7A is #E0D485. Grayscale: #303030. Windows color (decimal): -14734470 or 8006431. OLE color: 8006431.
HSL color Cylindrical-coordinate representation of color #1F2B7A: hue angle of 232.09º degrees, saturation: 0.59, 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 #1F2B7A is Cyan = 0.75, Magento = 0.65, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 31 | 43 | 122 | - |
| CMYK | 0.75 | 0.65 | 0 | 0.52 |
| HSL | 232.09º | 0.59% | 0.3% | - |
| HSV(B) | 232.09º | 0.75% | 0.48% | - |
| XYZ | 4.94 | 3.42 | 18.81 | - |
| YUV | 48.42 | 169.52 | 115.58 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 43 | 122 | 0.75 | 0.65 | 0 | 0.52 | 232.09 | 0.59 | 0.3 |
| Hex | 1F | 2B | 7A | 4B | 41 | 0 | 34 | E8 | 3B | 1E |
| Octal | 37 | 53 | 172 | 113 | 101 | 0 | 64 | 350 | 73 | 36 |
| Binary | 11111 | 101011 | 1111010 | 1001011 | 1000001 | 0 | 110100 | 11101000 | 111011 | 11110 |
Color Harmonies of #1F2B7A
Complementary color
Monochromatic Colors of #1F2B7A
Black with #1F2B7A
Text Example
Text Example
White with #1F2B7A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2B7A; }
p { color: rgb(31,43,122); }
H1.HeaderClassName
{
color: #1F2B7A;
}
.AnyTagClassName
{
color: #1F2B7A;
}
</style>
background-color css
<style>
a { background-color: #1F2B7A; }
a { background-color: rgb(31,43,122); }
div.DivClassName
{
background-color: #1F2B7A;
}
.BgClassName
{
background-color: #1F2B7A;
}
</style>
border-color css
<style>
span { border-color: #1F2B7A; }
span { border-color: rgb(31,43,122); }
td.TdClassName
{
border-color: #1F2B7A;
}
.TagClassName
{
border-color: #1F2B7A;
}
</style>