Shades of Midnight Blue #2A258A
Tints of Midnight Blue #2A258A
RGB
CMYK
RGB Variations
Color information
#2A258A (or 0x2A258A) is known color: Midnight Blue. HEX triplet: 2A, 25 and 8A. RGB value is (42,37,138). Sum of RGB (Red+Green+Blue) = 42+37+138=217 (28% of max value = 765). Red value is 42 (16.80% from 255 or 19.35% from 217); Green value is 37 (14.84% from 255 or 17.05% from 217); Blue value is 138 (54.30% from 255 or 63.59% from 217); Max value from RGB is 138 - color contains mainly: blue. Hex color #2A258A is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #2A258A is #D5DA75. Grayscale: #313131. Windows color (decimal): -14015094 or 9053482. OLE color: 9053482.
HSL color Cylindrical-coordinate representation of color #2A258A: hue angle of 242.97º degrees, saturation: 0.58, lightness: 0.34%. HSV value (or HSB Brightness) of color is 0.54% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #2A258A is Cyan = 0.70, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.46.
Color convert
| RGB | 42 | 37 | 138 | - |
| CMYK | 0.70 | 0.73 | 0 | 0.46 |
| HSL | 242.97º | 0.58% | 0.34% | - |
| HSV(B) | 242.97º | 0.73% | 0.54% | - |
| XYZ | 6.2 | 3.65 | 24.42 | - |
| YUV | 50.01 | 177.66 | 122.29 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 37 | 138 | 0.70 | 0.73 | 0 | 0.46 | 242.97 | 0.58 | 0.34 |
| Hex | 2A | 25 | 8A | 46 | 49 | 0 | 2E | F3 | 3A | 22 |
| Octal | 52 | 45 | 212 | 106 | 111 | 0 | 56 | 363 | 72 | 42 |
| Binary | 101010 | 100101 | 10001010 | 1000110 | 1001001 | 0 | 101110 | 11110011 | 111010 | 100010 |
Color Harmonies of #2A258A
Complementary color
Monochromatic Colors of #2A258A
Black with #2A258A
Text Example
Text Example
White with #2A258A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A258A; }
p { color: rgb(42,37,138); }
H1.HeaderClassName
{
color: #2A258A;
}
.AnyTagClassName
{
color: #2A258A;
}
</style>
background-color css
<style>
a { background-color: #2A258A; }
a { background-color: rgb(42,37,138); }
div.DivClassName
{
background-color: #2A258A;
}
.BgClassName
{
background-color: #2A258A;
}
</style>
border-color css
<style>
span { border-color: #2A258A; }
span { border-color: rgb(42,37,138); }
td.TdClassName
{
border-color: #2A258A;
}
.TagClassName
{
border-color: #2A258A;
}
</style>