Color conversion

Color conversion for #040C28

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

Color spaces

RGB41240
HSL226.67°81.82%8.63%
HSV226.67°90%15.69%
CMYK90%70%0%84.31%
XYZ0.56440.44192.0626
Yxy0.44190.18390.144
Hunter Lab6.64763.5219-13.736
CIE-Lab3.99165.9147-18.8465
CIE-LCH3.991619.7528287.4237
CIE-LUV3.9917-1.5111-8.8792

Base numbers

BaseRedGreenBlue
Binary000001000000110000101000
Octal41450
Decimal41240
Hex040C28

RGB percentages

Red
2%
Green
5%
Blue
16%

CMYK percentages

Cyan
90%
Magenta
70%
Yellow
0%
Black
84%
Harmony

Color schemes

#040C28 color on black

#040C28 color sample text

#040C28 color on white

#040C28 color sample text

#040C28 CSS codes

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

Accessibility

Contrast on white19.3:1AAA
Contrast on black1.09:1Poor
Web safe#000033Near
Luminance0.00440-1
Global naming

Color names in other languages

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

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

Nearby palette

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

Related shades

Similar colors

See Blacks