Color conversion
Color conversion for #040F8A
Complete numeric profile for comparing screens, paints, palettes and digital materials.
Color spaces
| RGB | 4 | 15 | 138 | |
|---|---|---|---|---|
| HSL | 235.07° | 94.37% | 27.84% | |
| HSV | 235.07° | 97.1% | 54.12% | |
| CMYK | 97.1% | 89.13% | 0% | 45.88% |
| XYZ | 4.8067 | 2.2018 | 24.2115 | |
| Yxy | 2.2018 | 0.154 | 0.0705 | |
| Hunter Lab | 14.8385 | 31.8547 | -86.317 | |
| CIE-Lab | 16.5125 | 44.761 | -65.1108 | |
| CIE-LCH | 16.5125 | 79.0124 | 304.5069 | |
| CIE-LUV | 16.5125 | -5.1072 | -62.0273 |
Base numbers
| Base | Red | Green | Blue |
|---|---|---|---|
| Binary | 00000100 | 00001111 | 10001010 |
| Octal | 4 | 17 | 212 |
| Decimal | 4 | 15 | 138 |
| Hex | 04 | 0F | 8A |
RGB percentages
CMYK percentages
Shades #040F8A
Tints #040F8A
Harmony
Color schemes
Complementary
Analogous
Triadic
Split complementary
Tetradic
Rectangle
Monochromatic
#040F8A color on black
#040F8A color sample text
#040F8A color on white
#040F8A color sample text
#040F8A CSS codes
.background { background-color: #040F8A; }
.text { color: #040F8A; }
.border { border: 3px solid #040F8A; }
.shadow { box-shadow: 0 8px 28px rgba(4, 15, 138, 0.35); }
CSS preview
Accessibility
Contrast on white14.58:1AAA
Contrast on black1.44:1Poor
Web safe#000099Near
Luminance0.0220-1
Global naming
Color names in other languages
Use these names to compare international references, paint catalogs and design materials.
English#040F8A color
PortuguêsCor #040F8A
EspañolColor #040F8A
한국어#040F8A 색상
日本語#040F8A の色
中文#040F8A 颜色
DeutschFarbe #040F8A
FrançaisCouleur #040F8A
Pairings
Nearby palette
Useful combinations for testing contrast, emphasis and visual harmony with #040F8A color.
Related shades
See Blues