Shades of Midnight Blue #2A237B
Tints of Midnight Blue #2A237B
RGB
CMYK
RGB Variations
Color information
#2A237B (or 0x2A237B) is known color: Midnight Blue. HEX triplet: 2A, 23 and 7B. RGB value is (42,35,123). Sum of RGB (Red+Green+Blue) = 42+35+123=200 (26% of max value = 765). Red value is 42 (16.80% from 255 or 21% from 200); Green value is 35 (14.06% from 255 or 17.5% from 200); Blue value is 123 (48.44% from 255 or 61.5% from 200); Max value from RGB is 123 - color contains mainly: blue. Hex color #2A237B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A237B is #D5DC84. Grayscale: #2E2E2E. Windows color (decimal): -14015621 or 8069930. OLE color: 8069930.
HSL color Cylindrical-coordinate representation of color #2A237B: hue angle of 244.77º degrees, saturation: 0.56, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #2A237B is Cyan = 0.66, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 42 | 35 | 123 | - |
| CMYK | 0.66 | 0.72 | 0 | 0.52 |
| HSL | 244.77º | 0.56% | 0.31% | - |
| HSV(B) | 244.77º | 0.72% | 0.48% | - |
| XYZ | 5.13 | 3.12 | 19.07 | - |
| YUV | 47.13 | 170.82 | 124.34 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 35 | 123 | 0.66 | 0.72 | 0 | 0.52 | 244.77 | 0.56 | 0.31 |
| Hex | 2A | 23 | 7B | 42 | 48 | 0 | 34 | F5 | 38 | 1F |
| Octal | 52 | 43 | 173 | 102 | 110 | 0 | 64 | 365 | 70 | 37 |
| Binary | 101010 | 100011 | 1111011 | 1000010 | 1001000 | 0 | 110100 | 11110101 | 111000 | 11111 |
Color Harmonies of #2A237B
Complementary color
Monochromatic Colors of #2A237B
Black with #2A237B
Text Example
Text Example
White with #2A237B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A237B; }
p { color: rgb(42,35,123); }
H1.HeaderClassName
{
color: #2A237B;
}
.AnyTagClassName
{
color: #2A237B;
}
</style>
background-color css
<style>
a { background-color: #2A237B; }
a { background-color: rgb(42,35,123); }
div.DivClassName
{
background-color: #2A237B;
}
.BgClassName
{
background-color: #2A237B;
}
</style>
border-color css
<style>
span { border-color: #2A237B; }
span { border-color: rgb(42,35,123); }
td.TdClassName
{
border-color: #2A237B;
}
.TagClassName
{
border-color: #2A237B;
}
</style>