Shades of Midnight Blue #1B226F
Tints of Midnight Blue #1B226F
RGB
CMYK
RGB Variations
Color information
#1B226F (or 0x1B226F) is known color: Midnight Blue. HEX triplet: 1B, 22 and 6F. RGB value is (27,34,111). Sum of RGB (Red+Green+Blue) = 27+34+111=172 (22% of max value = 765). Red value is 27 (10.94% from 255 or 15.70% from 172); Green value is 34 (13.67% from 255 or 19.77% from 172); Blue value is 111 (43.75% from 255 or 64.53% from 172); Max value from RGB is 111 - color contains mainly: blue. Hex color #1B226F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1B226F is #E4DD90. Grayscale: #282828. Windows color (decimal): -14998929 or 7283227. OLE color: 7283227.
HSL color Cylindrical-coordinate representation of color #1B226F: hue angle of 235º 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 #1B226F is Cyan = 0.76, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 27 | 34 | 111 | - |
| CMYK | 0.76 | 0.69 | 0 | 0.56 |
| HSL | 235º | 0.61% | 0.27% | - |
| HSV(B) | 235º | 0.76% | 0.44% | - |
| XYZ | 3.89 | 2.52 | 15.32 | - |
| YUV | 40.69 | 167.68 | 118.24 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 34 | 111 | 0.76 | 0.69 | 0 | 0.56 | 235 | 0.61 | 0.27 |
| Hex | 1B | 22 | 6F | 4C | 45 | 0 | 38 | EB | 3D | 1B |
| Octal | 33 | 42 | 157 | 114 | 105 | 0 | 70 | 353 | 75 | 33 |
| Binary | 11011 | 100010 | 1101111 | 1001100 | 1000101 | 0 | 111000 | 11101011 | 111101 | 11011 |
Color Harmonies of #1B226F
Complementary color
Monochromatic Colors of #1B226F
Black with #1B226F
Text Example
Text Example
White with #1B226F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B226F; }
p { color: rgb(27,34,111); }
H1.HeaderClassName
{
color: #1B226F;
}
.AnyTagClassName
{
color: #1B226F;
}
</style>
background-color css
<style>
a { background-color: #1B226F; }
a { background-color: rgb(27,34,111); }
div.DivClassName
{
background-color: #1B226F;
}
.BgClassName
{
background-color: #1B226F;
}
</style>
border-color css
<style>
span { border-color: #1B226F; }
span { border-color: rgb(27,34,111); }
td.TdClassName
{
border-color: #1B226F;
}
.TagClassName
{
border-color: #1B226F;
}
</style>