Shades of Midnight Blue #21257B
Tints of Midnight Blue #21257B
RGB
CMYK
RGB Variations
Color information
#21257B (or 0x21257B) is known color: Midnight Blue. HEX triplet: 21, 25 and 7B. RGB value is (33,37,123). Sum of RGB (Red+Green+Blue) = 33+37+123=193 (25% of max value = 765). Red value is 33 (13.28% from 255 or 17.10% from 193); Green value is 37 (14.84% from 255 or 19.17% from 193); Blue value is 123 (48.44% from 255 or 63.73% from 193); Max value from RGB is 123 - color contains mainly: blue. Hex color #21257B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #21257B is #DEDA84. Grayscale: #2D2D2D. Windows color (decimal): -14604933 or 8070433. OLE color: 8070433.
HSL color Cylindrical-coordinate representation of color #21257B: hue angle of 237.33º degrees, saturation: 0.58, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #21257B is Cyan = 0.73, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 33 | 37 | 123 | - |
| CMYK | 0.73 | 0.70 | 0 | 0.52 |
| HSL | 237.33º | 0.58% | 0.31% | - |
| HSV(B) | 237.33º | 0.73% | 0.48% | - |
| XYZ | 4.86 | 3.08 | 19.08 | - |
| YUV | 45.61 | 171.67 | 119.01 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 37 | 123 | 0.73 | 0.70 | 0 | 0.52 | 237.33 | 0.58 | 0.31 |
| Hex | 21 | 25 | 7B | 49 | 46 | 0 | 34 | ED | 3A | 1F |
| Octal | 41 | 45 | 173 | 111 | 106 | 0 | 64 | 355 | 72 | 37 |
| Binary | 100001 | 100101 | 1111011 | 1001001 | 1000110 | 0 | 110100 | 11101101 | 111010 | 11111 |
Color Harmonies of #21257B
Complementary color
Monochromatic Colors of #21257B
Black with #21257B
Text Example
Text Example
White with #21257B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21257B; }
p { color: rgb(33,37,123); }
H1.HeaderClassName
{
color: #21257B;
}
.AnyTagClassName
{
color: #21257B;
}
</style>
background-color css
<style>
a { background-color: #21257B; }
a { background-color: rgb(33,37,123); }
div.DivClassName
{
background-color: #21257B;
}
.BgClassName
{
background-color: #21257B;
}
</style>
border-color css
<style>
span { border-color: #21257B; }
span { border-color: rgb(33,37,123); }
td.TdClassName
{
border-color: #21257B;
}
.TagClassName
{
border-color: #21257B;
}
</style>