Color conversion
Color conversion for #040C38
Complete numeric profile for comparing screens, paints, palettes and digital materials.
Color spaces
| RGB | 4 | 12 | 56 | |
|---|---|---|---|---|
| HSL | 230.77° | 86.67% | 11.76% | |
| HSV | 230.77° | 92.86% | 21.96% | |
| CMYK | 92.86% | 78.57% | 0% | 78.04% |
| XYZ | 0.8951 | 0.5742 | 3.8043 | |
| Yxy | 0.5742 | 0.1697 | 0.1089 | |
| Hunter Lab | 7.5776 | 7.8243 | -24.4503 | |
| CIE-Lab | 5.1867 | 14.266 | -28.8547 | |
| CIE-LCH | 5.1867 | 32.1887 | 296.3082 | |
| CIE-LUV | 5.1867 | -1.8004 | -14.9232 |
Base numbers
| Base | Red | Green | Blue |
|---|---|---|---|
| Binary | 00000100 | 00001100 | 00111000 |
| Octal | 4 | 14 | 70 |
| Decimal | 4 | 12 | 56 |
| Hex | 04 | 0C | 38 |
RGB percentages
CMYK percentages
Shades #040C38
Tints #040C38
Harmony
Color schemes
Complementary
Analogous
Triadic
Split complementary
Tetradic
Rectangle
Monochromatic
#040C38 color on black
#040C38 color sample text
#040C38 color on white
#040C38 color sample text
#040C38 CSS codes
.background { background-color: #040C38; }
.text { color: #040C38; }
.border { border: 3px solid #040C38; }
.shadow { box-shadow: 0 8px 28px rgba(4, 12, 56, 0.35); }
CSS preview
Accessibility
Contrast on white18.85:1AAA
Contrast on black1.11:1Poor
Web safe#000033Near
Luminance0.00570-1
Global naming
Color names in other languages
Use these names to compare international references, paint catalogs and design materials.
English#040C38 color
PortuguêsCor #040C38
EspañolColor #040C38
한국어#040C38 색상
日本語#040C38 の色
中文#040C38 颜色
DeutschFarbe #040C38
FrançaisCouleur #040C38
Pairings
Nearby palette
Useful combinations for testing contrast, emphasis and visual harmony with #040C38 color.
Related shades
See Blacks