Shades of Midnight Blue #21256B
Tints of Midnight Blue #21256B
RGB
CMYK
RGB Variations
Color information
#21256B (or 0x21256B) is known color: Midnight Blue. HEX triplet: 21, 25 and 6B. RGB value is (33,37,107). Sum of RGB (Red+Green+Blue) = 33+37+107=177 (23% of max value = 765). Red value is 33 (13.28% from 255 or 18.64% from 177); Green value is 37 (14.84% from 255 or 20.90% from 177); Blue value is 107 (42.19% from 255 or 60.45% from 177); Max value from RGB is 107 - color contains mainly: blue. Hex color #21256B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #21256B is #DEDA94. Grayscale: #2B2B2B. Windows color (decimal): -14604949 or 7021857. OLE color: 7021857.
HSL color Cylindrical-coordinate representation of color #21256B: hue angle of 236.76º degrees, saturation: 0.53, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.69%. Process color model (Four color, CMYK) of #21256B is Cyan = 0.69, Magento = 0.65, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 33 | 37 | 107 | - |
| CMYK | 0.69 | 0.65 | 0 | 0.58 |
| HSL | 236.76º | 0.53% | 0.27% | - |
| HSV(B) | 236.76º | 0.69% | 0.42% | - |
| XYZ | 3.94 | 2.71 | 14.22 | - |
| YUV | 43.78 | 163.67 | 120.31 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 37 | 107 | 0.69 | 0.65 | 0 | 0.58 | 236.76 | 0.53 | 0.27 |
| Hex | 21 | 25 | 6B | 45 | 41 | 0 | 3A | ED | 35 | 1B |
| Octal | 41 | 45 | 153 | 105 | 101 | 0 | 72 | 355 | 65 | 33 |
| Binary | 100001 | 100101 | 1101011 | 1000101 | 1000001 | 0 | 111010 | 11101101 | 110101 | 11011 |
Color Harmonies of #21256B
Complementary color
Monochromatic Colors of #21256B
Black with #21256B
Text Example
Text Example
White with #21256B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21256B; }
p { color: rgb(33,37,107); }
H1.HeaderClassName
{
color: #21256B;
}
.AnyTagClassName
{
color: #21256B;
}
</style>
background-color css
<style>
a { background-color: #21256B; }
a { background-color: rgb(33,37,107); }
div.DivClassName
{
background-color: #21256B;
}
.BgClassName
{
background-color: #21256B;
}
</style>
border-color css
<style>
span { border-color: #21256B; }
span { border-color: rgb(33,37,107); }
td.TdClassName
{
border-color: #21256B;
}
.TagClassName
{
border-color: #21256B;
}
</style>