Shades of Midnight Blue #28237E
Tints of Midnight Blue #28237E
RGB
CMYK
RGB Variations
Color information
#28237E (or 0x28237E) is known color: Midnight Blue. HEX triplet: 28, 23 and 7E. RGB value is (40,35,126). Sum of RGB (Red+Green+Blue) = 40+35+126=201 (26% of max value = 765). Red value is 40 (16.02% from 255 or 19.90% from 201); Green value is 35 (14.06% from 255 or 17.41% from 201); Blue value is 126 (49.61% from 255 or 62.69% from 201); Max value from RGB is 126 - color contains mainly: blue. Hex color #28237E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #28237E is #D7DC81. Grayscale: #2E2E2E. Windows color (decimal): -14146690 or 8266536. OLE color: 8266536.
HSL color Cylindrical-coordinate representation of color #28237E: hue angle of 243.3º degrees, saturation: 0.57, lightness: 0.32%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #28237E is Cyan = 0.68, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 40 | 35 | 126 | - |
| CMYK | 0.68 | 0.72 | 0 | 0.51 |
| HSL | 243.3º | 0.57% | 0.32% | - |
| HSV(B) | 243.3º | 0.72% | 0.49% | - |
| XYZ | 5.24 | 3.16 | 20.07 | - |
| YUV | 46.87 | 172.66 | 123.1 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 35 | 126 | 0.68 | 0.72 | 0 | 0.51 | 243.3 | 0.57 | 0.32 |
| Hex | 28 | 23 | 7E | 44 | 48 | 0 | 33 | F3 | 39 | 20 |
| Octal | 50 | 43 | 176 | 104 | 110 | 0 | 63 | 363 | 71 | 40 |
| Binary | 101000 | 100011 | 1111110 | 1000100 | 1001000 | 0 | 110011 | 11110011 | 111001 | 100000 |
Color Harmonies of #28237E
Complementary color
Monochromatic Colors of #28237E
Black with #28237E
Text Example
Text Example
White with #28237E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28237E; }
p { color: rgb(40,35,126); }
H1.HeaderClassName
{
color: #28237E;
}
.AnyTagClassName
{
color: #28237E;
}
</style>
background-color css
<style>
a { background-color: #28237E; }
a { background-color: rgb(40,35,126); }
div.DivClassName
{
background-color: #28237E;
}
.BgClassName
{
background-color: #28237E;
}
</style>
border-color css
<style>
span { border-color: #28237E; }
span { border-color: rgb(40,35,126); }
td.TdClassName
{
border-color: #28237E;
}
.TagClassName
{
border-color: #28237E;
}
</style>