Shades of Midnight Blue #2A257C
Tints of Midnight Blue #2A257C
RGB
CMYK
RGB Variations
Color information
#2A257C (or 0x2A257C) is known color: Midnight Blue. HEX triplet: 2A, 25 and 7C. RGB value is (42,37,124). Sum of RGB (Red+Green+Blue) = 42+37+124=203 (26% of max value = 765). Red value is 42 (16.80% from 255 or 20.69% from 203); Green value is 37 (14.84% from 255 or 18.23% from 203); Blue value is 124 (48.83% from 255 or 61.08% from 203); Max value from RGB is 124 - color contains mainly: blue. Hex color #2A257C is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A257C is #D5DA83. Grayscale: #303030. Windows color (decimal): -14015108 or 8135978. OLE color: 8135978.
HSL color Cylindrical-coordinate representation of color #2A257C: hue angle of 243.45º degrees, saturation: 0.54, lightness: 0.32%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #2A257C is Cyan = 0.66, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 42 | 37 | 124 | - |
| CMYK | 0.66 | 0.70 | 0 | 0.51 |
| HSL | 243.45º | 0.54% | 0.32% | - |
| HSV(B) | 243.45º | 0.7% | 0.49% | - |
| XYZ | 5.25 | 3.27 | 19.42 | - |
| YUV | 48.41 | 170.66 | 123.43 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 37 | 124 | 0.66 | 0.70 | 0 | 0.51 | 243.45 | 0.54 | 0.32 |
| Hex | 2A | 25 | 7C | 42 | 46 | 0 | 33 | F3 | 36 | 20 |
| Octal | 52 | 45 | 174 | 102 | 106 | 0 | 63 | 363 | 66 | 40 |
| Binary | 101010 | 100101 | 1111100 | 1000010 | 1000110 | 0 | 110011 | 11110011 | 110110 | 100000 |
Color Harmonies of #2A257C
Complementary color
Monochromatic Colors of #2A257C
Black with #2A257C
Text Example
Text Example
White with #2A257C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A257C; }
p { color: rgb(42,37,124); }
H1.HeaderClassName
{
color: #2A257C;
}
.AnyTagClassName
{
color: #2A257C;
}
</style>
background-color css
<style>
a { background-color: #2A257C; }
a { background-color: rgb(42,37,124); }
div.DivClassName
{
background-color: #2A257C;
}
.BgClassName
{
background-color: #2A257C;
}
</style>
border-color css
<style>
span { border-color: #2A257C; }
span { border-color: rgb(42,37,124); }
td.TdClassName
{
border-color: #2A257C;
}
.TagClassName
{
border-color: #2A257C;
}
</style>