Shades of Midnight Blue #28228B
Tints of Midnight Blue #28228B
RGB
CMYK
RGB Variations
Color information
#28228B (or 0x28228B) is known color: Midnight Blue. HEX triplet: 28, 22 and 8B. RGB value is (40,34,139). Sum of RGB (Red+Green+Blue) = 40+34+139=213 (28% of max value = 765). Red value is 40 (16.02% from 255 or 18.78% from 213); Green value is 34 (13.67% from 255 or 15.96% from 213); Blue value is 139 (54.69% from 255 or 65.26% from 213); Max value from RGB is 139 - color contains mainly: blue. Hex color #28228B is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #28228B is #D7DD74. Grayscale: #2F2F2F. Windows color (decimal): -14146933 or 9118248. OLE color: 9118248.
HSL color Cylindrical-coordinate representation of color #28228B: hue angle of 243.43º 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 #28228B is Cyan = 0.71, Magento = 0.76, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 40 | 34 | 139 | - |
| CMYK | 0.71 | 0.76 | 0 | 0.45 |
| HSL | 243.43º | 0.61% | 0.34% | - |
| HSV(B) | 243.43º | 0.76% | 0.55% | - |
| XYZ | 6.11 | 3.46 | 24.77 | - |
| YUV | 47.76 | 179.49 | 122.46 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 34 | 139 | 0.71 | 0.76 | 0 | 0.45 | 243.43 | 0.61 | 0.34 |
| Hex | 28 | 22 | 8B | 47 | 4C | 0 | 2D | F3 | 3D | 22 |
| Octal | 50 | 42 | 213 | 107 | 114 | 0 | 55 | 363 | 75 | 42 |
| Binary | 101000 | 100010 | 10001011 | 1000111 | 1001100 | 0 | 101101 | 11110011 | 111101 | 100010 |
Color Harmonies of #28228B
Complementary color
Monochromatic Colors of #28228B
Black with #28228B
Text Example
Text Example
White with #28228B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28228B; }
p { color: rgb(40,34,139); }
H1.HeaderClassName
{
color: #28228B;
}
.AnyTagClassName
{
color: #28228B;
}
</style>
background-color css
<style>
a { background-color: #28228B; }
a { background-color: rgb(40,34,139); }
div.DivClassName
{
background-color: #28228B;
}
.BgClassName
{
background-color: #28228B;
}
</style>
border-color css
<style>
span { border-color: #28228B; }
span { border-color: rgb(40,34,139); }
td.TdClassName
{
border-color: #28228B;
}
.TagClassName
{
border-color: #28228B;
}
</style>