Color conversion

Color conversion for #040C38

Complete numeric profile for comparing screens, paints, palettes and digital materials.

Color spaces

RGB41256
HSL230.77°86.67%11.76%
HSV230.77°92.86%21.96%
CMYK92.86%78.57%0%78.04%
XYZ0.89510.57423.8043
Yxy0.57420.16970.1089
Hunter Lab7.57767.8243-24.4503
CIE-Lab5.186714.266-28.8547
CIE-LCH5.186732.1887296.3082
CIE-LUV5.1867-1.8004-14.9232

Base numbers

BaseRedGreenBlue
Binary000001000000110000111000
Octal41470
Decimal41256
Hex040C38

RGB percentages

Red
2%
Green
5%
Blue
22%

CMYK percentages

Cyan
93%
Magenta
79%
Yellow
0%
Black
78%
Harmony

Color schemes

#040C38 color on black

#040C38 color sample text

#040C38 color on white

#040C38 color sample text

#040C38 CSS codes

.background { background-color: #040C38; }
.text { color: #040C38; }
.border { border: 3px solid #040C38; }
.shadow { box-shadow: 0 8px 28px rgba(4, 12, 56, 0.35); }
CSS preview

Accessibility

Contrast on white18.85:1AAA
Contrast on black1.11:1Poor
Web safe#000033Near
Luminance0.00570-1
Global naming

Color names in other languages

Use these names to compare international references, paint catalogs and design materials.

English#040C38 color
PortuguêsCor #040C38
EspañolColor #040C38
한국어#040C38 색상
日本語#040C38 の色
中文#040C38 颜色
DeutschFarbe #040C38
FrançaisCouleur #040C38
Pairings

Nearby palette

Useful combinations for testing contrast, emphasis and visual harmony with #040C38 color.

Related shades

Similar colors

See Blacks