Color conversion
Color conversion for #040238
Complete numeric profile for comparing screens, paints, palettes and digital materials.
Color spaces
| RGB | 4 | 2 | 56 | |
|---|---|---|---|---|
| HSL | 242.22° | 93.1% | 11.37% | |
| HSV | 242.22° | 96.43% | 21.96% | |
| CMYK | 92.86% | 96.43% | 0% | 78.04% |
| XYZ | 0.7853 | 0.3547 | 3.7677 | |
| Yxy | 0.3547 | 0.16 | 0.0723 | |
| Hunter Lab | 5.9557 | 13.114 | -33.3246 | |
| CIE-Lab | 3.204 | 18.3587 | -32.0628 | |
| CIE-LCH | 3.204 | 36.9468 | 299.7948 | |
| CIE-LUV | 3.204 | -0.7249 | -11.8694 |
Base numbers
| Base | Red | Green | Blue |
|---|---|---|---|
| Binary | 00000100 | 00000010 | 00111000 |
| Octal | 4 | 2 | 70 |
| Decimal | 4 | 2 | 56 |
| Hex | 04 | 02 | 38 |
RGB percentages
CMYK percentages
Shades #040238
Tints #040238
Harmony
Color schemes
Complementary
Analogous
Triadic
Split complementary
Tetradic
Rectangle
Monochromatic
#040238 color on black
#040238 color sample text
#040238 color on white
#040238 color sample text
#040238 CSS codes
.background { background-color: #040238; }
.text { color: #040238; }
.border { border: 3px solid #040238; }
.shadow { box-shadow: 0 8px 28px rgba(4, 2, 56, 0.35); }
CSS preview
Accessibility
Contrast on white19.63:1AAA
Contrast on black1.07:1Poor
Web safe#000033Near
Luminance0.00350-1
Global naming
Color names in other languages
Use these names to compare international references, paint catalogs and design materials.
English#040238 color
PortuguêsCor #040238
EspañolColor #040238
한국어#040238 색상
日本語#040238 の色
中文#040238 颜色
DeutschFarbe #040238
FrançaisCouleur #040238
Pairings
Nearby palette
Useful combinations for testing contrast, emphasis and visual harmony with #040238 color.
Related shades
See Blacks