Color conversion
Color conversion for #040240
Complete numeric profile for comparing screens, paints, palettes and digital materials.
Color spaces
| RGB | 4 | 2 | 64 | |
|---|---|---|---|---|
| HSL | 241.94° | 93.94% | 12.94% | |
| HSV | 241.94° | 96.88% | 25.1% | |
| CMYK | 93.75% | 96.88% | 0% | 74.9% |
| XYZ | 0.9969 | 0.4393 | 4.8817 | |
| Yxy | 0.4393 | 0.1578 | 0.0695 | |
| Hunter Lab | 6.628 | 15.2487 | -39.0122 | |
| CIE-Lab | 3.9682 | 23.3783 | -36.6226 | |
| CIE-LCH | 3.9682 | 43.4484 | 302.5524 | |
| CIE-LUV | 3.9682 | -0.9529 | -14.9856 |
Base numbers
| Base | Red | Green | Blue |
|---|---|---|---|
| Binary | 00000100 | 00000010 | 01000000 |
| Octal | 4 | 2 | 100 |
| Decimal | 4 | 2 | 64 |
| Hex | 04 | 02 | 40 |
RGB percentages
CMYK percentages
Shades #040240
Tints #040240
Harmony
Color schemes
Complementary
Analogous
Triadic
Split complementary
Tetradic
Rectangle
Monochromatic
#040240 color on black
#040240 color sample text
#040240 color on white
#040240 color sample text
#040240 CSS codes
.background { background-color: #040240; }
.text { color: #040240; }
.border { border: 3px solid #040240; }
.shadow { box-shadow: 0 8px 28px rgba(4, 2, 64, 0.35); }
CSS preview
Accessibility
Contrast on white19.3:1AAA
Contrast on black1.09:1Poor
Web safe#000033Near
Luminance0.00440-1
Global naming
Color names in other languages
Use these names to compare international references, paint catalogs and design materials.
English#040240 color
PortuguêsCor #040240
EspañolColor #040240
한국어#040240 색상
日本語#040240 の色
中文#040240 颜色
DeutschFarbe #040240
FrançaisCouleur #040240
Pairings
Nearby palette
Useful combinations for testing contrast, emphasis and visual harmony with #040240 color.
Related shades
See Blues