Shades of Midnight Blue #28227B
Tints of Midnight Blue #28227B
RGB
CMYK
RGB Variations
Color information
#28227B (or 0x28227B) is known color: Midnight Blue. HEX triplet: 28, 22 and 7B. RGB value is (40,34,123). Sum of RGB (Red+Green+Blue) = 40+34+123=197 (26% of max value = 765). Red value is 40 (16.02% from 255 or 20.30% from 197); Green value is 34 (13.67% from 255 or 17.26% from 197); Blue value is 123 (48.44% from 255 or 62.44% from 197); Max value from RGB is 123 - color contains mainly: blue. Hex color #28227B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #28227B is #D7DD84. Grayscale: #2D2D2D. Windows color (decimal): -14146949 or 8069672. OLE color: 8069672.
HSL color Cylindrical-coordinate representation of color #28227B: hue angle of 244.04º degrees, saturation: 0.57, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #28227B is Cyan = 0.67, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 40 | 34 | 123 | - |
| CMYK | 0.67 | 0.72 | 0 | 0.52 |
| HSL | 244.04º | 0.57% | 0.31% | - |
| HSV(B) | 244.04º | 0.72% | 0.48% | - |
| XYZ | 5.02 | 3.03 | 19.06 | - |
| YUV | 45.94 | 171.49 | 123.76 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 34 | 123 | 0.67 | 0.72 | 0 | 0.52 | 244.04 | 0.57 | 0.31 |
| Hex | 28 | 22 | 7B | 43 | 48 | 0 | 34 | F4 | 39 | 1F |
| Octal | 50 | 42 | 173 | 103 | 110 | 0 | 64 | 364 | 71 | 37 |
| Binary | 101000 | 100010 | 1111011 | 1000011 | 1001000 | 0 | 110100 | 11110100 | 111001 | 11111 |
Color Harmonies of #28227B
Complementary color
Monochromatic Colors of #28227B
Black with #28227B
Text Example
Text Example
White with #28227B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28227B; }
p { color: rgb(40,34,123); }
H1.HeaderClassName
{
color: #28227B;
}
.AnyTagClassName
{
color: #28227B;
}
</style>
background-color css
<style>
a { background-color: #28227B; }
a { background-color: rgb(40,34,123); }
div.DivClassName
{
background-color: #28227B;
}
.BgClassName
{
background-color: #28227B;
}
</style>
border-color css
<style>
span { border-color: #28227B; }
span { border-color: rgb(40,34,123); }
td.TdClassName
{
border-color: #28227B;
}
.TagClassName
{
border-color: #28227B;
}
</style>