Color conversion
Color conversion for #040F87
Complete numeric profile for comparing screens, paints, palettes and digital materials.
Color spaces
| RGB | 4 | 15 | 135 | |
|---|---|---|---|---|
| HSL | 234.96° | 94.24% | 27.25% | |
| HSV | 234.96° | 97.04% | 52.94% | |
| CMYK | 97.04% | 88.89% | 0% | 47.06% |
| XYZ | 4.5925 | 2.1161 | 23.0834 | |
| Yxy | 2.1161 | 0.1542 | 0.071 | |
| Hunter Lab | 14.5468 | 30.8959 | -83.8638 | |
| CIE-Lab | 16.0851 | 43.8149 | -63.9359 | |
| CIE-LCH | 16.0851 | 77.5084 | 304.4226 | |
| CIE-LUV | 16.0851 | -4.9883 | -60.2142 |
Base numbers
| Base | Red | Green | Blue |
|---|---|---|---|
| Binary | 00000100 | 00001111 | 10000111 |
| Octal | 4 | 17 | 207 |
| Decimal | 4 | 15 | 135 |
| Hex | 04 | 0F | 87 |
RGB percentages
CMYK percentages
Shades #040F87
Tints #040F87
Harmony
Color schemes
Complementary
Analogous
Triadic
Split complementary
Tetradic
Rectangle
Monochromatic
#040F87 color on black
#040F87 color sample text
#040F87 color on white
#040F87 color sample text
#040F87 CSS codes
.background { background-color: #040F87; }
.text { color: #040F87; }
.border { border: 3px solid #040F87; }
.shadow { box-shadow: 0 8px 28px rgba(4, 15, 135, 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#040F87 color
PortuguêsCor #040F87
EspañolColor #040F87
한국어#040F87 색상
日本語#040F87 の色
中文#040F87 颜色
DeutschFarbe #040F87
FrançaisCouleur #040F87
Pairings
Nearby palette
Useful combinations for testing contrast, emphasis and visual harmony with #040F87 color.
Related shades
See Blues