Shades of Midnight Blue #251F7E
Tints of Midnight Blue #251F7E
RGB
CMYK
RGB Variations
Color information
#251F7E (or 0x251F7E) is known color: Midnight Blue. HEX triplet: 25, 1F and 7E. RGB value is (37,31,126). Sum of RGB (Red+Green+Blue) = 37+31+126=194 (25% of max value = 765). Red value is 37 (14.84% from 255 or 19.07% from 194); Green value is 31 (12.5% from 255 or 15.98% from 194); Blue value is 126 (49.61% from 255 or 64.95% from 194); Max value from RGB is 126 - color contains mainly: blue. Hex color #251F7E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #251F7E is #DAE081. Grayscale: #2B2B2B. Windows color (decimal): -14344322 or 8265509. OLE color: 8265509.
HSL color Cylindrical-coordinate representation of color #251F7E: hue angle of 243.79º degrees, saturation: 0.61, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #251F7E is Cyan = 0.71, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 37 | 31 | 126 | - |
| CMYK | 0.71 | 0.75 | 0 | 0.51 |
| HSL | 243.79º | 0.61% | 0.31% | - |
| HSV(B) | 243.79º | 0.75% | 0.49% | - |
| XYZ | 5.02 | 2.88 | 20.03 | - |
| YUV | 43.62 | 174.49 | 123.28 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 37 | 31 | 126 | 0.71 | 0.75 | 0 | 0.51 | 243.79 | 0.61 | 0.31 |
| Hex | 25 | 1F | 7E | 47 | 4B | 0 | 33 | F4 | 3D | 1F |
| Octal | 45 | 37 | 176 | 107 | 113 | 0 | 63 | 364 | 75 | 37 |
| Binary | 100101 | 11111 | 1111110 | 1000111 | 1001011 | 0 | 110011 | 11110100 | 111101 | 11111 |
Color Harmonies of #251F7E
Complementary color
Monochromatic Colors of #251F7E
Black with #251F7E
Text Example
Text Example
White with #251F7E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #251F7E; }
p { color: rgb(37,31,126); }
H1.HeaderClassName
{
color: #251F7E;
}
.AnyTagClassName
{
color: #251F7E;
}
</style>
background-color css
<style>
a { background-color: #251F7E; }
a { background-color: rgb(37,31,126); }
div.DivClassName
{
background-color: #251F7E;
}
.BgClassName
{
background-color: #251F7E;
}
</style>
border-color css
<style>
span { border-color: #251F7E; }
span { border-color: rgb(37,31,126); }
td.TdClassName
{
border-color: #251F7E;
}
.TagClassName
{
border-color: #251F7E;
}
</style>