Shades of Midnight Blue #28268B
Tints of Midnight Blue #28268B
RGB
CMYK
RGB Variations
Color information
#28268B (or 0x28268B) is known color: Midnight Blue. HEX triplet: 28, 26 and 8B. RGB value is (40,38,139). Sum of RGB (Red+Green+Blue) = 40+38+139=217 (28% of max value = 765). Red value is 40 (16.02% from 255 or 18.43% from 217); Green value is 38 (15.23% from 255 or 17.51% from 217); Blue value is 139 (54.69% from 255 or 64.06% from 217); Max value from RGB is 139 - color contains mainly: blue. Hex color #28268B is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #28268B is #D7D974. Grayscale: #313131. Windows color (decimal): -14145909 or 9119272. OLE color: 9119272.
HSL color Cylindrical-coordinate representation of color #28268B: hue angle of 241.19º degrees, saturation: 0.57, lightness: 0.35%. HSV value (or HSB Brightness) of color is 0.55% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #28268B is Cyan = 0.71, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 40 | 38 | 139 | - |
| CMYK | 0.71 | 0.73 | 0 | 0.45 |
| HSL | 241.19º | 0.57% | 0.35% | - |
| HSV(B) | 241.19º | 0.73% | 0.55% | - |
| XYZ | 6.23 | 3.7 | 24.81 | - |
| YUV | 50.11 | 178.16 | 120.79 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 38 | 139 | 0.71 | 0.73 | 0 | 0.45 | 241.19 | 0.57 | 0.35 |
| Hex | 28 | 26 | 8B | 47 | 49 | 0 | 2D | F1 | 39 | 23 |
| Octal | 50 | 46 | 213 | 107 | 111 | 0 | 55 | 361 | 71 | 43 |
| Binary | 101000 | 100110 | 10001011 | 1000111 | 1001001 | 0 | 101101 | 11110001 | 111001 | 100011 |
Color Harmonies of #28268B
Complementary color
Monochromatic Colors of #28268B
Black with #28268B
Text Example
Text Example
White with #28268B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28268B; }
p { color: rgb(40,38,139); }
H1.HeaderClassName
{
color: #28268B;
}
.AnyTagClassName
{
color: #28268B;
}
</style>
background-color css
<style>
a { background-color: #28268B; }
a { background-color: rgb(40,38,139); }
div.DivClassName
{
background-color: #28268B;
}
.BgClassName
{
background-color: #28268B;
}
</style>
border-color css
<style>
span { border-color: #28268B; }
span { border-color: rgb(40,38,139); }
td.TdClassName
{
border-color: #28268B;
}
.TagClassName
{
border-color: #28268B;
}
</style>