Shades of Midnight Blue #28257B
Tints of Midnight Blue #28257B
RGB
CMYK
RGB Variations
Color information
#28257B (or 0x28257B) is known color: Midnight Blue. HEX triplet: 28, 25 and 7B. RGB value is (40,37,123). Sum of RGB (Red+Green+Blue) = 40+37+123=200 (26% of max value = 765). Red value is 40 (16.02% from 255 or 20% from 200); Green value is 37 (14.84% from 255 or 18.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 #28257B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #28257B is #D7DA84. Grayscale: #2F2F2F. Windows color (decimal): -14146181 or 8070440. OLE color: 8070440.
HSL color Cylindrical-coordinate representation of color #28257B: hue angle of 242.09º degrees, saturation: 0.54, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #28257B is Cyan = 0.67, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 40 | 37 | 123 | - |
| CMYK | 0.67 | 0.70 | 0 | 0.52 |
| HSL | 242.09º | 0.54% | 0.31% | - |
| HSV(B) | 242.09º | 0.7% | 0.48% | - |
| XYZ | 5.11 | 3.2 | 19.09 | - |
| YUV | 47.7 | 170.49 | 122.51 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 37 | 123 | 0.67 | 0.70 | 0 | 0.52 | 242.09 | 0.54 | 0.31 |
| Hex | 28 | 25 | 7B | 43 | 46 | 0 | 34 | F2 | 36 | 1F |
| Octal | 50 | 45 | 173 | 103 | 106 | 0 | 64 | 362 | 66 | 37 |
| Binary | 101000 | 100101 | 1111011 | 1000011 | 1000110 | 0 | 110100 | 11110010 | 110110 | 11111 |
Color Harmonies of #28257B
Complementary color
Monochromatic Colors of #28257B
Black with #28257B
Text Example
Text Example
White with #28257B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28257B; }
p { color: rgb(40,37,123); }
H1.HeaderClassName
{
color: #28257B;
}
.AnyTagClassName
{
color: #28257B;
}
</style>
background-color css
<style>
a { background-color: #28257B; }
a { background-color: rgb(40,37,123); }
div.DivClassName
{
background-color: #28257B;
}
.BgClassName
{
background-color: #28257B;
}
</style>
border-color css
<style>
span { border-color: #28257B; }
span { border-color: rgb(40,37,123); }
td.TdClassName
{
border-color: #28257B;
}
.TagClassName
{
border-color: #28257B;
}
</style>