Color conversion
Color conversion for #040228
Complete numeric profile for comparing screens, paints, palettes and digital materials.
Color spaces
| RGB | 4 | 2 | 40 | |
|---|---|---|---|---|
| HSL | 243.16° | 90.48% | 8.24% | |
| HSV | 243.16° | 95% | 15.69% | |
| CMYK | 90% | 95% | 0% | 84.31% |
| XYZ | 0.4547 | 0.2224 | 2.026 | |
| Yxy | 0.2224 | 0.1682 | 0.0823 | |
| Hunter Lab | 4.7159 | 8.9576 | -22.1603 | |
| CIE-Lab | 2.0089 | 9.9672 | -21.9478 | |
| CIE-LCH | 2.0089 | 24.105 | 294.4243 | |
| CIE-LUV | 2.0089 | -0.3536 | -6.9342 |
Base numbers
| Base | Red | Green | Blue |
|---|---|---|---|
| Binary | 00000100 | 00000010 | 00101000 |
| Octal | 4 | 2 | 50 |
| Decimal | 4 | 2 | 40 |
| Hex | 04 | 02 | 28 |
RGB percentages
CMYK percentages
Shades #040228
Tints #040228
Harmony
Color schemes
Complementary
Analogous
Triadic
Split complementary
Tetradic
Rectangle
Monochromatic
#040228 color on black
#040228 color sample text
#040228 color on white
#040228 color sample text
#040228 CSS codes
.background { background-color: #040228; }
.text { color: #040228; }
.border { border: 3px solid #040228; }
.shadow { box-shadow: 0 8px 28px rgba(4, 2, 40, 0.35); }
CSS preview
Accessibility
Contrast on white20.11:1AAA
Contrast on black1.04:1Poor
Web safe#000033Near
Luminance0.00220-1
Global naming
Color names in other languages
Use these names to compare international references, paint catalogs and design materials.
English#040228 color
PortuguêsCor #040228
EspañolColor #040228
한국어#040228 색상
日本語#040228 の色
中文#040228 颜色
DeutschFarbe #040228
FrançaisCouleur #040228
Pairings
Nearby palette
Useful combinations for testing contrast, emphasis and visual harmony with #040228 color.
Related shades
See Blacks