Shades of Midnight Blue #2A268B
Tints of Midnight Blue #2A268B
RGB
CMYK
RGB Variations
Color information
#2A268B (or 0x2A268B) is known color: Midnight Blue. HEX triplet: 2A, 26 and 8B. RGB value is (42,38,139). Sum of RGB (Red+Green+Blue) = 42+38+139=219 (29% of max value = 765). Red value is 42 (16.80% from 255 or 19.18% from 219); Green value is 38 (15.23% from 255 or 17.35% from 219); Blue value is 139 (54.69% from 255 or 63.47% from 219); Max value from RGB is 139 - color contains mainly: blue. Hex color #2A268B is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #2A268B is #D5D974. Grayscale: #323232. Windows color (decimal): -14014837 or 9119274. OLE color: 9119274.
HSL color Cylindrical-coordinate representation of color #2A268B: hue angle of 242.38º degrees, saturation: 0.57, lightness: 0.35%. HSV value (or HSB Brightness) of color is 0.55% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #2A268B is Cyan = 0.70, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 42 | 38 | 139 | - |
| CMYK | 0.70 | 0.73 | 0 | 0.45 |
| HSL | 242.38º | 0.57% | 0.35% | - |
| HSV(B) | 242.38º | 0.73% | 0.55% | - |
| XYZ | 6.31 | 3.74 | 24.82 | - |
| YUV | 50.71 | 177.83 | 121.79 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 38 | 139 | 0.70 | 0.73 | 0 | 0.45 | 242.38 | 0.57 | 0.35 |
| Hex | 2A | 26 | 8B | 46 | 49 | 0 | 2D | F2 | 39 | 23 |
| Octal | 52 | 46 | 213 | 106 | 111 | 0 | 55 | 362 | 71 | 43 |
| Binary | 101010 | 100110 | 10001011 | 1000110 | 1001001 | 0 | 101101 | 11110010 | 111001 | 100011 |
Color Harmonies of #2A268B
Complementary color
Monochromatic Colors of #2A268B
Black with #2A268B
Text Example
Text Example
White with #2A268B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A268B; }
p { color: rgb(42,38,139); }
H1.HeaderClassName
{
color: #2A268B;
}
.AnyTagClassName
{
color: #2A268B;
}
</style>
background-color css
<style>
a { background-color: #2A268B; }
a { background-color: rgb(42,38,139); }
div.DivClassName
{
background-color: #2A268B;
}
.BgClassName
{
background-color: #2A268B;
}
</style>
border-color css
<style>
span { border-color: #2A268B; }
span { border-color: rgb(42,38,139); }
td.TdClassName
{
border-color: #2A268B;
}
.TagClassName
{
border-color: #2A268B;
}
</style>