Color conversion
Color conversion for #040242
Complete numeric profile for comparing screens, paints, palettes and digital materials.
Color spaces
| RGB | 4 | 2 | 66 | |
|---|---|---|---|---|
| HSL | 241.88° | 94.12% | 13.33% | |
| HSV | 241.88° | 96.97% | 25.88% | |
| CMYK | 93.94% | 96.97% | 0% | 74.12% |
| XYZ | 1.0548 | 0.4624 | 5.1869 | |
| Yxy | 0.4624 | 0.1573 | 0.069 | |
| Hunter Lab | 6.8 | 15.7883 | -40.4475 | |
| CIE-Lab | 4.1768 | 24.5581 | -37.7137 | |
| CIE-LCH | 4.1768 | 45.0047 | 303.071 | |
| CIE-LUV | 4.1769 | -1.015 | -15.8355 |
Base numbers
| Base | Red | Green | Blue |
|---|---|---|---|
| Binary | 00000100 | 00000010 | 01000010 |
| Octal | 4 | 2 | 102 |
| Decimal | 4 | 2 | 66 |
| Hex | 04 | 02 | 42 |
RGB percentages
CMYK percentages
Shades #040242
Tints #040242
Harmony
Color schemes
Complementary
Analogous
Triadic
Split complementary
Tetradic
Rectangle
Monochromatic
#040242 color on black
#040242 color sample text
#040242 color on white
#040242 color sample text
#040242 CSS codes
.background { background-color: #040242; }
.text { color: #040242; }
.border { border: 3px solid #040242; }
.shadow { box-shadow: 0 8px 28px rgba(4, 2, 66, 0.35); }
CSS preview
Accessibility
Contrast on white19.23:1AAA
Contrast on black1.09:1Poor
Web safe#000033Near
Luminance0.00460-1
Global naming
Color names in other languages
Use these names to compare international references, paint catalogs and design materials.
English#040242 color
PortuguêsCor #040242
EspañolColor #040242
한국어#040242 색상
日本語#040242 の色
中文#040242 颜色
DeutschFarbe #040242
FrançaisCouleur #040242
Pairings
Nearby palette
Useful combinations for testing contrast, emphasis and visual harmony with #040242 color.
Related shades
See Blues