Shades of Midnight Blue #27228B
Tints of Midnight Blue #27228B
RGB
CMYK
RGB Variations
Color information
#27228B (or 0x27228B) is known color: Midnight Blue. HEX triplet: 27, 22 and 8B. RGB value is (39,34,139). Sum of RGB (Red+Green+Blue) = 39+34+139=212 (28% of max value = 765). Red value is 39 (15.62% from 255 or 18.40% from 212); Green value is 34 (13.67% from 255 or 16.04% from 212); Blue value is 139 (54.69% from 255 or 65.57% from 212); Max value from RGB is 139 - color contains mainly: blue. Hex color #27228B is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #27228B is #D8DD74. Grayscale: #2F2F2F. Windows color (decimal): -14212469 or 9118247. OLE color: 9118247.
HSL color Cylindrical-coordinate representation of color #27228B: hue angle of 242.86º degrees, saturation: 0.61, lightness: 0.34%. HSV value (or HSB Brightness) of color is 0.55% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #27228B is Cyan = 0.72, Magento = 0.76, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 39 | 34 | 139 | - |
| CMYK | 0.72 | 0.76 | 0 | 0.45 |
| HSL | 242.86º | 0.61% | 0.34% | - |
| HSV(B) | 242.86º | 0.76% | 0.55% | - |
| XYZ | 6.07 | 3.44 | 24.77 | - |
| YUV | 47.47 | 179.66 | 121.96 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 39 | 34 | 139 | 0.72 | 0.76 | 0 | 0.45 | 242.86 | 0.61 | 0.34 |
| Hex | 27 | 22 | 8B | 48 | 4C | 0 | 2D | F3 | 3D | 22 |
| Octal | 47 | 42 | 213 | 110 | 114 | 0 | 55 | 363 | 75 | 42 |
| Binary | 100111 | 100010 | 10001011 | 1001000 | 1001100 | 0 | 101101 | 11110011 | 111101 | 100010 |
Color Harmonies of #27228B
Complementary color
Monochromatic Colors of #27228B
Black with #27228B
Text Example
Text Example
White with #27228B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #27228B; }
p { color: rgb(39,34,139); }
H1.HeaderClassName
{
color: #27228B;
}
.AnyTagClassName
{
color: #27228B;
}
</style>
background-color css
<style>
a { background-color: #27228B; }
a { background-color: rgb(39,34,139); }
div.DivClassName
{
background-color: #27228B;
}
.BgClassName
{
background-color: #27228B;
}
</style>
border-color css
<style>
span { border-color: #27228B; }
span { border-color: rgb(39,34,139); }
td.TdClassName
{
border-color: #27228B;
}
.TagClassName
{
border-color: #27228B;
}
</style>