Shades of Midnight Blue #1F2A6B
Tints of Midnight Blue #1F2A6B
RGB
CMYK
RGB Variations
Color information
#1F2A6B (or 0x1F2A6B) is known color: Midnight Blue. HEX triplet: 1F, 2A and 6B. RGB value is (31,42,107). Sum of RGB (Red+Green+Blue) = 31+42+107=180 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.22% from 180); Green value is 42 (16.80% from 255 or 23.33% from 180); Blue value is 107 (42.19% from 255 or 59.44% from 180); Max value from RGB is 107 - color contains mainly: blue. Hex color #1F2A6B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2A6B is #E0D594. Grayscale: #2D2D2D. Windows color (decimal): -14734741 or 7023135. OLE color: 7023135.
HSL color Cylindrical-coordinate representation of color #1F2A6B: hue angle of 231.32º 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 #1F2A6B is Cyan = 0.71, Magento = 0.61, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 31 | 42 | 107 | - |
| CMYK | 0.71 | 0.61 | 0 | 0.58 |
| HSL | 231.32º | 0.55% | 0.27% | - |
| HSV(B) | 231.32º | 0.71% | 0.42% | - |
| XYZ | 4.05 | 3.01 | 14.28 | - |
| YUV | 46.12 | 162.36 | 117.21 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 42 | 107 | 0.71 | 0.61 | 0 | 0.58 | 231.32 | 0.55 | 0.27 |
| Hex | 1F | 2A | 6B | 47 | 3D | 0 | 3A | E7 | 37 | 1B |
| Octal | 37 | 52 | 153 | 107 | 75 | 0 | 72 | 347 | 67 | 33 |
| Binary | 11111 | 101010 | 1101011 | 1000111 | 111101 | 0 | 111010 | 11100111 | 110111 | 11011 |
Color Harmonies of #1F2A6B
Complementary color
Monochromatic Colors of #1F2A6B
Black with #1F2A6B
Text Example
Text Example
White with #1F2A6B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2A6B; }
p { color: rgb(31,42,107); }
H1.HeaderClassName
{
color: #1F2A6B;
}
.AnyTagClassName
{
color: #1F2A6B;
}
</style>
background-color css
<style>
a { background-color: #1F2A6B; }
a { background-color: rgb(31,42,107); }
div.DivClassName
{
background-color: #1F2A6B;
}
.BgClassName
{
background-color: #1F2A6B;
}
</style>
border-color css
<style>
span { border-color: #1F2A6B; }
span { border-color: rgb(31,42,107); }
td.TdClassName
{
border-color: #1F2A6B;
}
.TagClassName
{
border-color: #1F2A6B;
}
</style>