Shades of Midnight Blue #1F2A8A
Tints of Midnight Blue #1F2A8A
RGB
CMYK
RGB Variations
Color information
#1F2A8A (or 0x1F2A8A) is known color: Midnight Blue. HEX triplet: 1F, 2A and 8A. RGB value is (31,42,138). Sum of RGB (Red+Green+Blue) = 31+42+138=211 (27% of max value = 765). Red value is 31 (12.5% from 255 or 14.69% from 211); Green value is 42 (16.80% from 255 or 19.91% from 211); Blue value is 138 (54.30% from 255 or 65.40% from 211); Max value from RGB is 138 - color contains mainly: blue. Hex color #1F2A8A is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #1F2A8A is #E0D575. Grayscale: #313131. Windows color (decimal): -14734710 or 9054751. OLE color: 9054751.
HSL color Cylindrical-coordinate representation of color #1F2A8A: hue angle of 233.83º degrees, saturation: 0.63, lightness: 0.33%. HSV value (or HSB Brightness) of color is 0.54% and HSV saturation: 0.78%. Process color model (Four color, CMYK) of #1F2A8A is Cyan = 0.78, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.46.
Color convert
| RGB | 31 | 42 | 138 | - |
| CMYK | 0.78 | 0.70 | 0 | 0.46 |
| HSL | 233.83º | 0.63% | 0.33% | - |
| HSV(B) | 233.83º | 0.78% | 0.54% | - |
| XYZ | 5.98 | 3.78 | 24.46 | - |
| YUV | 49.66 | 177.86 | 114.69 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 42 | 138 | 0.78 | 0.70 | 0 | 0.46 | 233.83 | 0.63 | 0.33 |
| Hex | 1F | 2A | 8A | 4E | 46 | 0 | 2E | EA | 3F | 21 |
| Octal | 37 | 52 | 212 | 116 | 106 | 0 | 56 | 352 | 77 | 41 |
| Binary | 11111 | 101010 | 10001010 | 1001110 | 1000110 | 0 | 101110 | 11101010 | 111111 | 100001 |
Color Harmonies of #1F2A8A
Complementary color
Monochromatic Colors of #1F2A8A
Black with #1F2A8A
Text Example
Text Example
White with #1F2A8A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2A8A; }
p { color: rgb(31,42,138); }
H1.HeaderClassName
{
color: #1F2A8A;
}
.AnyTagClassName
{
color: #1F2A8A;
}
</style>
background-color css
<style>
a { background-color: #1F2A8A; }
a { background-color: rgb(31,42,138); }
div.DivClassName
{
background-color: #1F2A8A;
}
.BgClassName
{
background-color: #1F2A8A;
}
</style>
border-color css
<style>
span { border-color: #1F2A8A; }
span { border-color: rgb(31,42,138); }
td.TdClassName
{
border-color: #1F2A8A;
}
.TagClassName
{
border-color: #1F2A8A;
}
</style>