Shades of Midnight Blue #1B2B7E
Tints of Midnight Blue #1B2B7E
RGB
CMYK
RGB Variations
Color information
#1B2B7E (or 0x1B2B7E) is known color: Midnight Blue. HEX triplet: 1B, 2B and 7E. RGB value is (27,43,126). Sum of RGB (Red+Green+Blue) = 27+43+126=196 (25% of max value = 765). Red value is 27 (10.94% from 255 or 13.78% from 196); Green value is 43 (17.19% from 255 or 21.94% from 196); Blue value is 126 (49.61% from 255 or 64.29% from 196); Max value from RGB is 126 - color contains mainly: blue. Hex color #1B2B7E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1B2B7E is #E4D481. Grayscale: #2F2F2F. Windows color (decimal): -14996610 or 8268571. OLE color: 8268571.
HSL color Cylindrical-coordinate representation of color #1B2B7E: hue angle of 230.3º degrees, saturation: 0.65, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.79%. Process color model (Four color, CMYK) of #1B2B7E is Cyan = 0.79, Magento = 0.66, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 27 | 43 | 126 | - |
| CMYK | 0.79 | 0.66 | 0 | 0.51 |
| HSL | 230.3º | 0.65% | 0.3% | - |
| HSV(B) | 230.3º | 0.79% | 0.49% | - |
| XYZ | 5.08 | 3.47 | 20.14 | - |
| YUV | 47.68 | 172.2 | 113.25 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 43 | 126 | 0.79 | 0.66 | 0 | 0.51 | 230.3 | 0.65 | 0.3 |
| Hex | 1B | 2B | 7E | 4F | 42 | 0 | 33 | E6 | 41 | 1E |
| Octal | 33 | 53 | 176 | 117 | 102 | 0 | 63 | 346 | 101 | 36 |
| Binary | 11011 | 101011 | 1111110 | 1001111 | 1000010 | 0 | 110011 | 11100110 | 1000001 | 11110 |
Color Harmonies of #1B2B7E
Complementary color
Monochromatic Colors of #1B2B7E
Black with #1B2B7E
Text Example
Text Example
White with #1B2B7E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B2B7E; }
p { color: rgb(27,43,126); }
H1.HeaderClassName
{
color: #1B2B7E;
}
.AnyTagClassName
{
color: #1B2B7E;
}
</style>
background-color css
<style>
a { background-color: #1B2B7E; }
a { background-color: rgb(27,43,126); }
div.DivClassName
{
background-color: #1B2B7E;
}
.BgClassName
{
background-color: #1B2B7E;
}
</style>
border-color css
<style>
span { border-color: #1B2B7E; }
span { border-color: rgb(27,43,126); }
td.TdClassName
{
border-color: #1B2B7E;
}
.TagClassName
{
border-color: #1B2B7E;
}
</style>