Skip to content
Kolorvia
#040515

Color #040515

A moderately saturated very dark blue.

Conversions

HEX
#040515
RGB
rgb(4, 5, 21)
HSL
hsl(236.5, 68%, 4.9%)
HSV / HSB
hsv(236.5, 81%, 8.2%)
CMYK
cmyk(81%, 76.2%, 0%, 91.8%)
LAB
lab(1.7, 2.48, -7.55)
LCH
lch(1.7, 7.95, 288.18)
OKLCH
oklch(12.6%, 0.0376, 275.65)
HWB
hwb(236.5, 1.6%, 91.8%)

Harmony colors

Complementary

#151404

Analogous

#040d15
#040515
#0c0415

Triadic

#040515
#150405
#051504

Split-complementary

#040515
#150c04
#0d1504

Tetradic

#040515
#140415
#151404
#051504

Square

#040515
#15040d
#151404
#04150c

Shades

Color #040515 mixed toward black.

#030411
#03030e
#02020a
#010207
#010103

Tints

Color #040515 mixed toward white.

#111559
#1e259d
#333dd8
#777ee5
#bbbef2

Tones

Color #040515 mixed toward gray.

#050614
#070712
#080911
#0a0a0f
#0b0b0e

Accessibility

Aa White text on this color
20.24:1
Aa Black text on this color
1.04:1

White text reads better on this background (20.24:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#040412 · ΔE 1.2

Deuteranopia

#040411 · ΔE 1.7

Tritanopia

#040f0f · ΔE 9.1

Achromatopsia

#060606 · ΔE 7.1

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #040515;
Tailwind (arbitrary value)
bg-[#040515]

Related colors

Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b
Ghost White #f8f8ff
Medium Blue #0000cd

Frequently asked questions

#040515 (#040515) is rgb(4, 5, 21) in RGB.

No, #040515 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #040515, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.