Color conversion
Color conversion for #040C4F
Complete numeric profile for comparing screens, paints, palettes and digital materials.
Color spaces
| RGB | 4 | 12 | 79 | |
|---|---|---|---|---|
| HSL | 233.6° | 90.36% | 16.27% | |
| HSV | 233.6° | 94.94% | 30.98% | |
| CMYK | 94.94% | 84.81% | 0% | 69.02% |
| XYZ | 1.5923 | 0.8531 | 7.4764 | |
| Yxy | 0.8531 | 0.1605 | 0.086 | |
| Hunter Lab | 9.2363 | 14.6087 | -41.5083 | |
| CIE-Lab | 7.706 | 25.7568 | -41.0258 | |
| CIE-LCH | 7.706 | 48.441 | 302.1214 | |
| CIE-LUV | 7.7061 | -2.4893 | -26.0264 |
Base numbers
| Base | Red | Green | Blue |
|---|---|---|---|
| Binary | 00000100 | 00001100 | 01001111 |
| Octal | 4 | 14 | 117 |
| Decimal | 4 | 12 | 79 |
| Hex | 04 | 0C | 4F |
RGB percentages
CMYK percentages
Shades #040C4F
Tints #040C4F
Harmony
Color schemes
Complementary
Analogous
Triadic
Split complementary
Tetradic
Rectangle
Monochromatic
#040C4F color on black
#040C4F color sample text
#040C4F color on white
#040C4F color sample text
#040C4F CSS codes
.background { background-color: #040C4F; }
.text { color: #040C4F; }
.border { border: 3px solid #040C4F; }
.shadow { box-shadow: 0 8px 28px rgba(4, 12, 79, 0.35); }
CSS preview
Accessibility
Contrast on white17.95:1AAA
Contrast on black1.17:1Poor
Web safe#000066Near
Luminance0.00850-1
Global naming
Color names in other languages
Use these names to compare international references, paint catalogs and design materials.
English#040C4F color
PortuguêsCor #040C4F
EspañolColor #040C4F
한국어#040C4F 색상
日本語#040C4F の色
中文#040C4F 颜色
DeutschFarbe #040C4F
FrançaisCouleur #040C4F
Pairings
Nearby palette
Useful combinations for testing contrast, emphasis and visual harmony with #040C4F color.
Related shades
See Blues