Shades of Midnight Blue #2B2278
Tints of Midnight Blue #2B2278
RGB
CMYK
RGB Variations
Color information
#2B2278 (or 0x2B2278) is known color: Midnight Blue. HEX triplet: 2B, 22 and 78. RGB value is (43,34,120). Sum of RGB (Red+Green+Blue) = 43+34+120=197 (26% of max value = 765). Red value is 43 (17.19% from 255 or 21.83% from 197); Green value is 34 (13.67% from 255 or 17.26% from 197); Blue value is 120 (47.27% from 255 or 60.91% from 197); Max value from RGB is 120 - color contains mainly: blue. Hex color #2B2278 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2B2278 is #D4DD87. Grayscale: #2E2E2E. Windows color (decimal): -13950344 or 7873067. OLE color: 7873067.
HSL color Cylindrical-coordinate representation of color #2B2278: hue angle of 246.28º degrees, saturation: 0.56, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #2B2278 is Cyan = 0.64, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 43 | 34 | 120 | - |
| CMYK | 0.64 | 0.72 | 0 | 0.53 |
| HSL | 246.28º | 0.56% | 0.3% | - |
| HSV(B) | 246.28º | 0.72% | 0.47% | - |
| XYZ | 4.96 | 3.01 | 18.09 | - |
| YUV | 46.5 | 169.48 | 125.51 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 43 | 34 | 120 | 0.64 | 0.72 | 0 | 0.53 | 246.28 | 0.56 | 0.3 |
| Hex | 2B | 22 | 78 | 40 | 48 | 0 | 35 | F6 | 38 | 1E |
| Octal | 53 | 42 | 170 | 100 | 110 | 0 | 65 | 366 | 70 | 36 |
| Binary | 101011 | 100010 | 1111000 | 1000000 | 1001000 | 0 | 110101 | 11110110 | 111000 | 11110 |
Color Harmonies of #2B2278
Complementary color
Monochromatic Colors of #2B2278
Black with #2B2278
Text Example
Text Example
White with #2B2278
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2B2278; }
p { color: rgb(43,34,120); }
H1.HeaderClassName
{
color: #2B2278;
}
.AnyTagClassName
{
color: #2B2278;
}
</style>
background-color css
<style>
a { background-color: #2B2278; }
a { background-color: rgb(43,34,120); }
div.DivClassName
{
background-color: #2B2278;
}
.BgClassName
{
background-color: #2B2278;
}
</style>
border-color css
<style>
span { border-color: #2B2278; }
span { border-color: rgb(43,34,120); }
td.TdClassName
{
border-color: #2B2278;
}
.TagClassName
{
border-color: #2B2278;
}
</style>