Shades of Midnight Blue #1B2D7B
Tints of Midnight Blue #1B2D7B
RGB
CMYK
RGB Variations
Color information
#1B2D7B (or 0x1B2D7B) is known color: Midnight Blue. HEX triplet: 1B, 2D and 7B. RGB value is (27,45,123). Sum of RGB (Red+Green+Blue) = 27+45+123=195 (25% of max value = 765). Red value is 27 (10.94% from 255 or 13.85% from 195); Green value is 45 (17.97% from 255 or 23.08% from 195); Blue value is 123 (48.44% from 255 or 63.08% from 195); Max value from RGB is 123 - color contains mainly: blue. Hex color #1B2D7B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1B2D7B is #E4D284. Grayscale: #303030. Windows color (decimal): -14996101 or 8072475. OLE color: 8072475.
HSL color Cylindrical-coordinate representation of color #1B2D7B: hue angle of 228.75º degrees, saturation: 0.64, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.78%. Process color model (Four color, CMYK) of #1B2D7B is Cyan = 0.78, Magento = 0.63, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 27 | 45 | 123 | - |
| CMYK | 0.78 | 0.63 | 0 | 0.52 |
| HSL | 228.75º | 0.64% | 0.29% | - |
| HSV(B) | 228.75º | 0.78% | 0.48% | - |
| XYZ | 4.97 | 3.54 | 19.16 | - |
| YUV | 48.51 | 170.04 | 112.66 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 45 | 123 | 0.78 | 0.63 | 0 | 0.52 | 228.75 | 0.64 | 0.29 |
| Hex | 1B | 2D | 7B | 4E | 3F | 0 | 34 | E5 | 40 | 1D |
| Octal | 33 | 55 | 173 | 116 | 77 | 0 | 64 | 345 | 100 | 35 |
| Binary | 11011 | 101101 | 1111011 | 1001110 | 111111 | 0 | 110100 | 11100101 | 1000000 | 11101 |
Color Harmonies of #1B2D7B
Complementary color
Monochromatic Colors of #1B2D7B
Black with #1B2D7B
Text Example
Text Example
White with #1B2D7B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B2D7B; }
p { color: rgb(27,45,123); }
H1.HeaderClassName
{
color: #1B2D7B;
}
.AnyTagClassName
{
color: #1B2D7B;
}
</style>
background-color css
<style>
a { background-color: #1B2D7B; }
a { background-color: rgb(27,45,123); }
div.DivClassName
{
background-color: #1B2D7B;
}
.BgClassName
{
background-color: #1B2D7B;
}
</style>
border-color css
<style>
span { border-color: #1B2D7B; }
span { border-color: rgb(27,45,123); }
td.TdClassName
{
border-color: #1B2D7B;
}
.TagClassName
{
border-color: #1B2D7B;
}
</style>