Shades of Midnight Blue #28278B
Tints of Midnight Blue #28278B
RGB
CMYK
RGB Variations
Color information
#28278B (or 0x28278B) is known color: Midnight Blue. HEX triplet: 28, 27 and 8B. RGB value is (40,39,139). Sum of RGB (Red+Green+Blue) = 40+39+139=218 (28% of max value = 765). Red value is 40 (16.02% from 255 or 18.35% from 218); Green value is 39 (15.62% from 255 or 17.89% from 218); Blue value is 139 (54.69% from 255 or 63.76% from 218); Max value from RGB is 139 - color contains mainly: blue. Hex color #28278B is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #28278B is #D7D874. Grayscale: #323232. Windows color (decimal): -14145653 or 9119528. OLE color: 9119528.
HSL color Cylindrical-coordinate representation of color #28278B: hue angle of 240.6º degrees, saturation: 0.56, lightness: 0.35%. HSV value (or HSB Brightness) of color is 0.55% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #28278B is Cyan = 0.71, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 40 | 39 | 139 | - |
| CMYK | 0.71 | 0.72 | 0 | 0.45 |
| HSL | 240.6º | 0.56% | 0.35% | - |
| HSV(B) | 240.6º | 0.72% | 0.55% | - |
| XYZ | 6.26 | 3.77 | 24.82 | - |
| YUV | 50.7 | 177.83 | 120.37 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 39 | 139 | 0.71 | 0.72 | 0 | 0.45 | 240.6 | 0.56 | 0.35 |
| Hex | 28 | 27 | 8B | 47 | 48 | 0 | 2D | F1 | 38 | 23 |
| Octal | 50 | 47 | 213 | 107 | 110 | 0 | 55 | 361 | 70 | 43 |
| Binary | 101000 | 100111 | 10001011 | 1000111 | 1001000 | 0 | 101101 | 11110001 | 111000 | 100011 |
Color Harmonies of #28278B
Complementary color
Monochromatic Colors of #28278B
Black with #28278B
Text Example
Text Example
White with #28278B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28278B; }
p { color: rgb(40,39,139); }
H1.HeaderClassName
{
color: #28278B;
}
.AnyTagClassName
{
color: #28278B;
}
</style>
background-color css
<style>
a { background-color: #28278B; }
a { background-color: rgb(40,39,139); }
div.DivClassName
{
background-color: #28278B;
}
.BgClassName
{
background-color: #28278B;
}
</style>
border-color css
<style>
span { border-color: #28278B; }
span { border-color: rgb(40,39,139); }
td.TdClassName
{
border-color: #28278B;
}
.TagClassName
{
border-color: #28278B;
}
</style>