Shades of Ultramarine #2A1F9B
Tints of Ultramarine #2A1F9B
RGB
CMYK
RGB Variations
Color information
#2A1F9B (or 0x2A1F9B) is known color: Ultramarine. HEX triplet: 2A, 1F and 9B. RGB value is (42,31,155). Sum of RGB (Red+Green+Blue) = 42+31+155=228 (30% of max value = 765). Red value is 42 (16.80% from 255 or 18.42% from 228); Green value is 31 (12.5% from 255 or 13.60% from 228); Blue value is 155 (60.94% from 255 or 67.98% from 228); Max value from RGB is 155 - color contains mainly: blue. Hex color #2A1F9B is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #2A1F9B is #D5E064. Grayscale: #2F2F2F. Windows color (decimal): -14016613 or 10166058. OLE color: 10166058.
HSL color Cylindrical-coordinate representation of color #2A1F9B: hue angle of 245.32º degrees, saturation: 0.67, lightness: 0.36%. HSV value (or HSB Brightness) of color is 0.61% and HSV saturation: 0.8%. Process color model (Four color, CMYK) of #2A1F9B is Cyan = 0.73, Magento = 0.8, Yellow = 0 and Black (K on CMYK) = 0.39.
Color convert
| RGB | 42 | 31 | 155 | - |
| CMYK | 0.73 | 0.8 | 0 | 0.39 |
| HSL | 245.32º | 0.67% | 0.36% | - |
| HSV(B) | 245.32º | 0.8% | 0.61% | - |
| XYZ | 7.36 | 3.84 | 31.36 | - |
| YUV | 48.43 | 188.14 | 123.42 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 31 | 155 | 0.73 | 0.8 | 0 | 0.39 | 245.32 | 0.67 | 0.36 |
| Hex | 2A | 1F | 9B | 49 | 50 | 0 | 27 | F5 | 43 | 24 |
| Octal | 52 | 37 | 233 | 111 | 120 | 0 | 47 | 365 | 103 | 44 |
| Binary | 101010 | 11111 | 10011011 | 1001001 | 1010000 | 0 | 100111 | 11110101 | 1000011 | 100100 |
Color Harmonies of #2A1F9B
Complementary color
Monochromatic Colors of #2A1F9B
Black with #2A1F9B
Text Example
Text Example
White with #2A1F9B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A1F9B; }
p { color: rgb(42,31,155); }
H1.HeaderClassName
{
color: #2A1F9B;
}
.AnyTagClassName
{
color: #2A1F9B;
}
</style>
background-color css
<style>
a { background-color: #2A1F9B; }
a { background-color: rgb(42,31,155); }
div.DivClassName
{
background-color: #2A1F9B;
}
.BgClassName
{
background-color: #2A1F9B;
}
</style>
border-color css
<style>
span { border-color: #2A1F9B; }
span { border-color: rgb(42,31,155); }
td.TdClassName
{
border-color: #2A1F9B;
}
.TagClassName
{
border-color: #2A1F9B;
}
</style>