Shades of Midnight Blue #1F2B6A
Tints of Midnight Blue #1F2B6A
RGB
CMYK
RGB Variations
Color information
#1F2B6A (or 0x1F2B6A) is known color: Midnight Blue. HEX triplet: 1F, 2B and 6A. RGB value is (31,43,106). Sum of RGB (Red+Green+Blue) = 31+43+106=180 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.22% from 180); Green value is 43 (17.19% from 255 or 23.89% from 180); Blue value is 106 (41.80% from 255 or 58.89% from 180); Max value from RGB is 106 - color contains mainly: blue. Hex color #1F2B6A is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2B6A is #E0D495. Grayscale: #2E2E2E. Windows color (decimal): -14734486 or 6957855. OLE color: 6957855.
HSL color Cylindrical-coordinate representation of color #1F2B6A: hue angle of 230.4º 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 #1F2B6A is Cyan = 0.71, Magento = 0.59, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 31 | 43 | 106 | - |
| CMYK | 0.71 | 0.59 | 0 | 0.58 |
| HSL | 230.4º | 0.55% | 0.27% | - |
| HSV(B) | 230.4º | 0.71% | 0.42% | - |
| XYZ | 4.03 | 3.06 | 14.01 | - |
| YUV | 46.59 | 161.52 | 116.88 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 43 | 106 | 0.71 | 0.59 | 0 | 0.58 | 230.4 | 0.55 | 0.27 |
| Hex | 1F | 2B | 6A | 47 | 3B | 0 | 3A | E6 | 37 | 1B |
| Octal | 37 | 53 | 152 | 107 | 73 | 0 | 72 | 346 | 67 | 33 |
| Binary | 11111 | 101011 | 1101010 | 1000111 | 111011 | 0 | 111010 | 11100110 | 110111 | 11011 |
Color Harmonies of #1F2B6A
Complementary color
Monochromatic Colors of #1F2B6A
Black with #1F2B6A
Text Example
Text Example
White with #1F2B6A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2B6A; }
p { color: rgb(31,43,106); }
H1.HeaderClassName
{
color: #1F2B6A;
}
.AnyTagClassName
{
color: #1F2B6A;
}
</style>
background-color css
<style>
a { background-color: #1F2B6A; }
a { background-color: rgb(31,43,106); }
div.DivClassName
{
background-color: #1F2B6A;
}
.BgClassName
{
background-color: #1F2B6A;
}
</style>
border-color css
<style>
span { border-color: #1F2B6A; }
span { border-color: rgb(31,43,106); }
td.TdClassName
{
border-color: #1F2B6A;
}
.TagClassName
{
border-color: #1F2B6A;
}
</style>