Shades of Midnight Blue #28227E
Tints of Midnight Blue #28227E
RGB
CMYK
RGB Variations
Color information
#28227E (or 0x28227E) is known color: Midnight Blue. HEX triplet: 28, 22 and 7E. RGB value is (40,34,126). Sum of RGB (Red+Green+Blue) = 40+34+126=200 (26% of max value = 765). Red value is 40 (16.02% from 255 or 20% from 200); Green value is 34 (13.67% from 255 or 17% from 200); Blue value is 126 (49.61% from 255 or 63% from 200); Max value from RGB is 126 - color contains mainly: blue. Hex color #28227E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #28227E is #D7DD81. Grayscale: #2D2D2D. Windows color (decimal): -14146946 or 8266280. OLE color: 8266280.
HSL color Cylindrical-coordinate representation of color #28227E: hue angle of 243.91º degrees, saturation: 0.57, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #28227E is Cyan = 0.68, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 40 | 34 | 126 | - |
| CMYK | 0.68 | 0.73 | 0 | 0.51 |
| HSL | 243.91º | 0.58% | 0.31% | - |
| HSV(B) | 243.91º | 0.73% | 0.49% | - |
| XYZ | 5.21 | 3.1 | 20.06 | - |
| YUV | 46.28 | 172.99 | 123.52 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 34 | 126 | 0.68 | 0.73 | 0 | 0.51 | 243.91 | 0.58 | 0.31 |
| Hex | 28 | 22 | 7E | 44 | 49 | 0 | 33 | F4 | 3A | 1F |
| Octal | 50 | 42 | 176 | 104 | 111 | 0 | 63 | 364 | 72 | 37 |
| Binary | 101000 | 100010 | 1111110 | 1000100 | 1001001 | 0 | 110011 | 11110100 | 111010 | 11111 |
Color Harmonies of #28227E
Complementary color
Monochromatic Colors of #28227E
Black with #28227E
Text Example
Text Example
White with #28227E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28227E; }
p { color: rgb(40,34,126); }
H1.HeaderClassName
{
color: #28227E;
}
.AnyTagClassName
{
color: #28227E;
}
</style>
background-color css
<style>
a { background-color: #28227E; }
a { background-color: rgb(40,34,126); }
div.DivClassName
{
background-color: #28227E;
}
.BgClassName
{
background-color: #28227E;
}
</style>
border-color css
<style>
span { border-color: #28227E; }
span { border-color: rgb(40,34,126); }
td.TdClassName
{
border-color: #28227E;
}
.TagClassName
{
border-color: #28227E;
}
</style>