Color conversion
Color conversion for #040C8A
Complete numeric profile for comparing screens, paints, palettes and digital materials.
Color spaces
| RGB | 4 | 12 | 138 | |
|---|---|---|---|---|
| HSL | 236.42° | 94.37% | 27.84% | |
| HSV | 236.42° | 97.1% | 54.12% | |
| CMYK | 97.1% | 91.3% | 0% | 45.88% |
| XYZ | 4.7674 | 2.1231 | 24.1983 | |
| Yxy | 2.1231 | 0.1533 | 0.0683 | |
| Hunter Lab | 14.5709 | 32.9034 | -88.2267 | |
| CIE-Lab | 16.1204 | 45.9456 | -65.7648 | |
| CIE-LCH | 16.1204 | 80.2247 | 304.9395 | |
| CIE-LUV | 16.1204 | -4.8669 | -61.4802 |
Base numbers
| Base | Red | Green | Blue |
|---|---|---|---|
| Binary | 00000100 | 00001100 | 10001010 |
| Octal | 4 | 14 | 212 |
| Decimal | 4 | 12 | 138 |
| Hex | 04 | 0C | 8A |
RGB percentages
CMYK percentages
Shades #040C8A
Tints #040C8A
Harmony
Color schemes
Complementary
Analogous
Triadic
Split complementary
Tetradic
Rectangle
Monochromatic
#040C8A color on black
#040C8A color sample text
#040C8A color on white
#040C8A color sample text
#040C8A CSS codes
.background { background-color: #040C8A; }
.text { color: #040C8A; }
.border { border: 3px solid #040C8A; }
.shadow { box-shadow: 0 8px 28px rgba(4, 12, 138, 0.35); }
CSS preview
Accessibility
Contrast on white14.75:1AAA
Contrast on black1.42:1Poor
Web safe#000099Near
Luminance0.02120-1
Global naming
Color names in other languages
Use these names to compare international references, paint catalogs and design materials.
English#040C8A color
PortuguêsCor #040C8A
EspañolColor #040C8A
한국어#040C8A 색상
日本語#040C8A の色
中文#040C8A 颜色
DeutschFarbe #040C8A
FrançaisCouleur #040C8A
Pairings
Nearby palette
Useful combinations for testing contrast, emphasis and visual harmony with #040C8A color.
Related shades
See Blues