Shades of Midnight Blue #28238A
Tints of Midnight Blue #28238A
RGB
CMYK
RGB Variations
Color information
#28238A (or 0x28238A) is known color: Midnight Blue. HEX triplet: 28, 23 and 8A. RGB value is (40,35,138). Sum of RGB (Red+Green+Blue) = 40+35+138=213 (28% of max value = 765). Red value is 40 (16.02% from 255 or 18.78% from 213); Green value is 35 (14.06% from 255 or 16.43% from 213); Blue value is 138 (54.30% from 255 or 64.79% from 213); Max value from RGB is 138 - color contains mainly: blue. Hex color #28238A is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #28238A is #D7DC75. Grayscale: #2F2F2F. Windows color (decimal): -14146678 or 9052968. OLE color: 9052968.
HSL color Cylindrical-coordinate representation of color #28238A: hue angle of 242.91º degrees, saturation: 0.6, lightness: 0.34%. HSV value (or HSB Brightness) of color is 0.54% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #28238A is Cyan = 0.71, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.46.
Color convert
| RGB | 40 | 35 | 138 | - |
| CMYK | 0.71 | 0.75 | 0 | 0.46 |
| HSL | 242.91º | 0.6% | 0.34% | - |
| HSV(B) | 242.91º | 0.75% | 0.54% | - |
| XYZ | 6.06 | 3.49 | 24.4 | - |
| YUV | 48.24 | 178.66 | 122.12 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 35 | 138 | 0.71 | 0.75 | 0 | 0.46 | 242.91 | 0.6 | 0.34 |
| Hex | 28 | 23 | 8A | 47 | 4B | 0 | 2E | F3 | 3C | 22 |
| Octal | 50 | 43 | 212 | 107 | 113 | 0 | 56 | 363 | 74 | 42 |
| Binary | 101000 | 100011 | 10001010 | 1000111 | 1001011 | 0 | 101110 | 11110011 | 111100 | 100010 |
Color Harmonies of #28238A
Complementary color
Monochromatic Colors of #28238A
Black with #28238A
Text Example
Text Example
White with #28238A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28238A; }
p { color: rgb(40,35,138); }
H1.HeaderClassName
{
color: #28238A;
}
.AnyTagClassName
{
color: #28238A;
}
</style>
background-color css
<style>
a { background-color: #28238A; }
a { background-color: rgb(40,35,138); }
div.DivClassName
{
background-color: #28238A;
}
.BgClassName
{
background-color: #28238A;
}
</style>
border-color css
<style>
span { border-color: #28238A; }
span { border-color: rgb(40,35,138); }
td.TdClassName
{
border-color: #28238A;
}
.TagClassName
{
border-color: #28238A;
}
</style>