Shades of Midnight Blue #28238B
Tints of Midnight Blue #28238B
RGB
CMYK
RGB Variations
Color information
#28238B (or 0x28238B) is known color: Midnight Blue. HEX triplet: 28, 23 and 8B. RGB value is (40,35,139). Sum of RGB (Red+Green+Blue) = 40+35+139=214 (28% of max value = 765). Red value is 40 (16.02% from 255 or 18.69% from 214); Green value is 35 (14.06% from 255 or 16.36% from 214); Blue value is 139 (54.69% from 255 or 64.95% from 214); Max value from RGB is 139 - color contains mainly: blue. Hex color #28238B is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #28238B is #D7DC74. Grayscale: #2F2F2F. Windows color (decimal): -14146677 or 9118504. OLE color: 9118504.
HSL color Cylindrical-coordinate representation of color #28238B: hue angle of 242.88º degrees, saturation: 0.6, lightness: 0.34%. HSV value (or HSB Brightness) of color is 0.55% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #28238B is Cyan = 0.71, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 40 | 35 | 139 | - |
| CMYK | 0.71 | 0.75 | 0 | 0.45 |
| HSL | 242.88º | 0.6% | 0.34% | - |
| HSV(B) | 242.88º | 0.75% | 0.55% | - |
| XYZ | 6.14 | 3.52 | 24.78 | - |
| YUV | 48.35 | 179.16 | 122.04 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 35 | 139 | 0.71 | 0.75 | 0 | 0.45 | 242.88 | 0.6 | 0.34 |
| Hex | 28 | 23 | 8B | 47 | 4B | 0 | 2D | F3 | 3C | 22 |
| Octal | 50 | 43 | 213 | 107 | 113 | 0 | 55 | 363 | 74 | 42 |
| Binary | 101000 | 100011 | 10001011 | 1000111 | 1001011 | 0 | 101101 | 11110011 | 111100 | 100010 |
Color Harmonies of #28238B
Complementary color
Monochromatic Colors of #28238B
Black with #28238B
Text Example
Text Example
White with #28238B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28238B; }
p { color: rgb(40,35,139); }
H1.HeaderClassName
{
color: #28238B;
}
.AnyTagClassName
{
color: #28238B;
}
</style>
background-color css
<style>
a { background-color: #28238B; }
a { background-color: rgb(40,35,139); }
div.DivClassName
{
background-color: #28238B;
}
.BgClassName
{
background-color: #28238B;
}
</style>
border-color css
<style>
span { border-color: #28238B; }
span { border-color: rgb(40,35,139); }
td.TdClassName
{
border-color: #28238B;
}
.TagClassName
{
border-color: #28238B;
}
</style>