Color conversion
Color conversion for #040C87
Complete numeric profile for comparing screens, paints, palettes and digital materials.
Color spaces
| RGB | 4 | 12 | 135 | |
|---|---|---|---|---|
| HSL | 236.34° | 94.24% | 27.25% | |
| HSV | 236.34° | 97.04% | 52.94% | |
| CMYK | 97.04% | 91.11% | 0% | 47.06% |
| XYZ | 4.5532 | 2.0374 | 23.0702 | |
| Yxy | 2.0374 | 0.1535 | 0.0687 | |
| Hunter Lab | 14.2738 | 31.9604 | -85.7993 | |
| CIE-Lab | 15.6823 | 45.0301 | -64.6076 | |
| CIE-LCH | 15.6823 | 78.7518 | 304.8757 | |
| CIE-LUV | 15.6823 | -4.7424 | -59.6466 |
Base numbers
| Base | Red | Green | Blue |
|---|---|---|---|
| Binary | 00000100 | 00001100 | 10000111 |
| Octal | 4 | 14 | 207 |
| Decimal | 4 | 12 | 135 |
| Hex | 04 | 0C | 87 |
RGB percentages
CMYK percentages
Shades #040C87
Tints #040C87
Harmony
Color schemes
Complementary
Analogous
Triadic
Split complementary
Tetradic
Rectangle
Monochromatic
#040C87 color on black
#040C87 color sample text
#040C87 color on white
#040C87 color sample text
#040C87 CSS codes
.background { background-color: #040C87; }
.text { color: #040C87; }
.border { border: 3px solid #040C87; }
.shadow { box-shadow: 0 8px 28px rgba(4, 12, 135, 0.35); }
CSS preview
Accessibility
Contrast on white14.91:1AAA
Contrast on black1.41:1Poor
Web safe#000099Near
Luminance0.02040-1
Global naming
Color names in other languages
Use these names to compare international references, paint catalogs and design materials.
English#040C87 color
PortuguêsCor #040C87
EspañolColor #040C87
한국어#040C87 색상
日本語#040C87 の色
中文#040C87 颜色
DeutschFarbe #040C87
FrançaisCouleur #040C87
Pairings
Nearby palette
Useful combinations for testing contrast, emphasis and visual harmony with #040C87 color.
Related shades
See Blues