Shades of Midnight Blue #28248A
Tints of Midnight Blue #28248A
RGB
CMYK
RGB Variations
Color information
#28248A (or 0x28248A) is known color: Midnight Blue. HEX triplet: 28, 24 and 8A. RGB value is (40,36,138). Sum of RGB (Red+Green+Blue) = 40+36+138=214 (28% of max value = 765). Red value is 40 (16.02% from 255 or 18.69% from 214); Green value is 36 (14.45% from 255 or 16.82% from 214); Blue value is 138 (54.30% from 255 or 64.49% from 214); Max value from RGB is 138 - color contains mainly: blue. Hex color #28248A is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #28248A is #D7DB75. Grayscale: #303030. Windows color (decimal): -14146422 or 9053224. OLE color: 9053224.
HSL color Cylindrical-coordinate representation of color #28248A: hue angle of 242.35º degrees, saturation: 0.59, lightness: 0.34%. HSV value (or HSB Brightness) of color is 0.54% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #28248A is Cyan = 0.71, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.46.
Color convert
| RGB | 40 | 36 | 138 | - |
| CMYK | 0.71 | 0.74 | 0 | 0.46 |
| HSL | 242.35º | 0.59% | 0.34% | - |
| HSV(B) | 242.35º | 0.74% | 0.54% | - |
| XYZ | 6.09 | 3.55 | 24.41 | - |
| YUV | 48.82 | 178.33 | 121.71 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 36 | 138 | 0.71 | 0.74 | 0 | 0.46 | 242.35 | 0.59 | 0.34 |
| Hex | 28 | 24 | 8A | 47 | 4A | 0 | 2E | F2 | 3B | 22 |
| Octal | 50 | 44 | 212 | 107 | 112 | 0 | 56 | 362 | 73 | 42 |
| Binary | 101000 | 100100 | 10001010 | 1000111 | 1001010 | 0 | 101110 | 11110010 | 111011 | 100010 |
Color Harmonies of #28248A
Complementary color
Monochromatic Colors of #28248A
Black with #28248A
Text Example
Text Example
White with #28248A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28248A; }
p { color: rgb(40,36,138); }
H1.HeaderClassName
{
color: #28248A;
}
.AnyTagClassName
{
color: #28248A;
}
</style>
background-color css
<style>
a { background-color: #28248A; }
a { background-color: rgb(40,36,138); }
div.DivClassName
{
background-color: #28248A;
}
.BgClassName
{
background-color: #28248A;
}
</style>
border-color css
<style>
span { border-color: #28248A; }
span { border-color: rgb(40,36,138); }
td.TdClassName
{
border-color: #28248A;
}
.TagClassName
{
border-color: #28248A;
}
</style>