Color conversion
Color conversion for #040218
Complete numeric profile for comparing screens, paints, palettes and digital materials.
Color spaces
| RGB | 4 | 2 | 24 | |
|---|---|---|---|---|
| HSL | 245.45° | 84.62% | 5.1% | |
| HSV | 245.45° | 91.67% | 9.41% | |
| CMYK | 83.33% | 91.67% | 0% | 90.59% |
| XYZ | 0.2366 | 0.1352 | 0.8776 | |
| Yxy | 0.1352 | 0.1894 | 0.1082 | |
| Hunter Lab | 3.677 | 5.0511 | -11.5717 | |
| CIE-Lab | 1.2213 | 4.4281 | -10.4471 | |
| CIE-LCH | 1.2213 | 11.3468 | 292.9701 | |
| CIE-LUV | 1.2213 | -0.0729 | -3.4909 |
Base numbers
| Base | Red | Green | Blue |
|---|---|---|---|
| Binary | 00000100 | 00000010 | 00011000 |
| Octal | 4 | 2 | 30 |
| Decimal | 4 | 2 | 24 |
| Hex | 04 | 02 | 18 |
RGB percentages
CMYK percentages
Shades #040218
Tints #040218
Harmony
Color schemes
Complementary
Analogous
Triadic
Split complementary
Tetradic
Rectangle
Monochromatic
#040218 color on black
#040218 color sample text
#040218 color on white
#040218 color sample text
#040218 CSS codes
.background { background-color: #040218; }
.text { color: #040218; }
.border { border: 3px solid #040218; }
.shadow { box-shadow: 0 8px 28px rgba(4, 2, 24, 0.35); }
CSS preview
Accessibility
Contrast on white20.43:1AAA
Contrast on black1.03:1Poor
Web safe#000000Near
Luminance0.00140-1
Global naming
Color names in other languages
Use these names to compare international references, paint catalogs and design materials.
English#040218 color
PortuguêsCor #040218
EspañolColor #040218
한국어#040218 색상
日本語#040218 の色
中文#040218 颜色
DeutschFarbe #040218
FrançaisCouleur #040218
Pairings
Nearby palette
Useful combinations for testing contrast, emphasis and visual harmony with #040218 color.
Related shades
See Blacks