Shades of Midnight Blue #1B227B
Tints of Midnight Blue #1B227B
RGB
CMYK
RGB Variations
Color information
#1B227B (or 0x1B227B) is known color: Midnight Blue. HEX triplet: 1B, 22 and 7B. RGB value is (27,34,123). Sum of RGB (Red+Green+Blue) = 27+34+123=184 (24% of max value = 765). Red value is 27 (10.94% from 255 or 14.67% from 184); Green value is 34 (13.67% from 255 or 18.48% from 184); Blue value is 123 (48.44% from 255 or 66.85% from 184); Max value from RGB is 123 - color contains mainly: blue. Hex color #1B227B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1B227B is #E4DD84. Grayscale: #292929. Windows color (decimal): -14998917 or 8069659. OLE color: 8069659.
HSL color Cylindrical-coordinate representation of color #1B227B: hue angle of 235.62º 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 #1B227B is Cyan = 0.78, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 27 | 34 | 123 | - |
| CMYK | 0.78 | 0.72 | 0 | 0.52 |
| HSL | 235.63º | 0.64% | 0.29% | - |
| HSV(B) | 235.63º | 0.78% | 0.48% | - |
| XYZ | 4.6 | 2.81 | 19.04 | - |
| YUV | 42.05 | 173.68 | 117.26 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 34 | 123 | 0.78 | 0.72 | 0 | 0.52 | 235.63 | 0.64 | 0.29 |
| Hex | 1B | 22 | 7B | 4E | 48 | 0 | 34 | EC | 40 | 1D |
| Octal | 33 | 42 | 173 | 116 | 110 | 0 | 64 | 354 | 100 | 35 |
| Binary | 11011 | 100010 | 1111011 | 1001110 | 1001000 | 0 | 110100 | 11101100 | 1000000 | 11101 |
Color Harmonies of #1B227B
Complementary color
Monochromatic Colors of #1B227B
Black with #1B227B
Text Example
Text Example
White with #1B227B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B227B; }
p { color: rgb(27,34,123); }
H1.HeaderClassName
{
color: #1B227B;
}
.AnyTagClassName
{
color: #1B227B;
}
</style>
background-color css
<style>
a { background-color: #1B227B; }
a { background-color: rgb(27,34,123); }
div.DivClassName
{
background-color: #1B227B;
}
.BgClassName
{
background-color: #1B227B;
}
</style>
border-color css
<style>
span { border-color: #1B227B; }
span { border-color: rgb(27,34,123); }
td.TdClassName
{
border-color: #1B227B;
}
.TagClassName
{
border-color: #1B227B;
}
</style>