Shades of Midnight Blue #28227F
Tints of Midnight Blue #28227F
RGB
CMYK
RGB Variations
Color information
#28227F (or 0x28227F) is known color: Midnight Blue. HEX triplet: 28, 22 and 7F. RGB value is (40,34,127). Sum of RGB (Red+Green+Blue) = 40+34+127=201 (26% of max value = 765). Red value is 40 (16.02% from 255 or 19.90% from 201); Green value is 34 (13.67% from 255 or 16.92% from 201); Blue value is 127 (50% from 255 or 63.18% from 201); Max value from RGB is 127 - color contains mainly: blue. Hex color #28227F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #28227F is #D7DD80. Grayscale: #2E2E2E. Windows color (decimal): -14146945 or 8331816. OLE color: 8331816.
HSL color Cylindrical-coordinate representation of color #28227F: hue angle of 243.87º degrees, saturation: 0.58, lightness: 0.32%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #28227F is Cyan = 0.69, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 40 | 34 | 127 | - |
| CMYK | 0.69 | 0.73 | 0 | 0.50 |
| HSL | 243.87º | 0.58% | 0.32% | - |
| HSV(B) | 243.87º | 0.73% | 0.5% | - |
| XYZ | 5.28 | 3.13 | 20.4 | - |
| YUV | 46.4 | 173.49 | 123.44 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 34 | 127 | 0.69 | 0.73 | 0 | 0.50 | 243.87 | 0.58 | 0.32 |
| Hex | 28 | 22 | 7F | 45 | 49 | 0 | 32 | F4 | 3A | 20 |
| Octal | 50 | 42 | 177 | 105 | 111 | 0 | 62 | 364 | 72 | 40 |
| Binary | 101000 | 100010 | 1111111 | 1000101 | 1001001 | 0 | 110010 | 11110100 | 111010 | 100000 |
Color Harmonies of #28227F
Complementary color
Monochromatic Colors of #28227F
Black with #28227F
Text Example
Text Example
White with #28227F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28227F; }
p { color: rgb(40,34,127); }
H1.HeaderClassName
{
color: #28227F;
}
.AnyTagClassName
{
color: #28227F;
}
</style>
background-color css
<style>
a { background-color: #28227F; }
a { background-color: rgb(40,34,127); }
div.DivClassName
{
background-color: #28227F;
}
.BgClassName
{
background-color: #28227F;
}
</style>
border-color css
<style>
span { border-color: #28227F; }
span { border-color: rgb(40,34,127); }
td.TdClassName
{
border-color: #28227F;
}
.TagClassName
{
border-color: #28227F;
}
</style>