Shades of Midnight Blue #1B2A70
Tints of Midnight Blue #1B2A70
RGB
CMYK
RGB Variations
Color information
#1B2A70 (or 0x1B2A70) is known color: Midnight Blue. HEX triplet: 1B, 2A and 70. RGB value is (27,42,112). Sum of RGB (Red+Green+Blue) = 27+42+112=181 (23% of max value = 765). Red value is 27 (10.94% from 255 or 14.92% from 181); Green value is 42 (16.80% from 255 or 23.20% from 181); Blue value is 112 (44.14% from 255 or 61.88% from 181); Max value from RGB is 112 - color contains mainly: blue. Hex color #1B2A70 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1B2A70 is #E4D58F. Grayscale: #2D2D2D. Windows color (decimal): -14996880 or 7350811. OLE color: 7350811.
HSL color Cylindrical-coordinate representation of color #1B2A70: hue angle of 229.41º degrees, saturation: 0.61, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #1B2A70 is Cyan = 0.76, Magento = 0.62, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 27 | 42 | 112 | - |
| CMYK | 0.76 | 0.62 | 0 | 0.56 |
| HSL | 229.41º | 0.61% | 0.27% | - |
| HSV(B) | 229.41º | 0.76% | 0.44% | - |
| XYZ | 4.2 | 3.06 | 15.7 | - |
| YUV | 45.5 | 165.53 | 114.81 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 42 | 112 | 0.76 | 0.62 | 0 | 0.56 | 229.41 | 0.61 | 0.27 |
| Hex | 1B | 2A | 70 | 4C | 3E | 0 | 38 | E5 | 3D | 1B |
| Octal | 33 | 52 | 160 | 114 | 76 | 0 | 70 | 345 | 75 | 33 |
| Binary | 11011 | 101010 | 1110000 | 1001100 | 111110 | 0 | 111000 | 11100101 | 111101 | 11011 |
Color Harmonies of #1B2A70
Complementary color
Monochromatic Colors of #1B2A70
Black with #1B2A70
Text Example
Text Example
White with #1B2A70
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B2A70; }
p { color: rgb(27,42,112); }
H1.HeaderClassName
{
color: #1B2A70;
}
.AnyTagClassName
{
color: #1B2A70;
}
</style>
background-color css
<style>
a { background-color: #1B2A70; }
a { background-color: rgb(27,42,112); }
div.DivClassName
{
background-color: #1B2A70;
}
.BgClassName
{
background-color: #1B2A70;
}
</style>
border-color css
<style>
span { border-color: #1B2A70; }
span { border-color: rgb(27,42,112); }
td.TdClassName
{
border-color: #1B2A70;
}
.TagClassName
{
border-color: #1B2A70;
}
</style>