Skip to content
Kolorvia
#240cdf

Color #240cdf

A vivid, highly saturated medium blue.

Conversions

HEX
#240cdf
RGB
rgb(36, 12, 223)
HSL
hsl(246.8, 89.8%, 46.1%)
HSV / HSB
hsv(246.8, 94.6%, 87.5%)
CMYK
cmyk(83.9%, 94.6%, 0%, 12.5%)
LAB
lab(29.32, 69.8, -94.64)
LCH
lch(29.32, 117.6, 306.41)
OKLCH
oklch(42.3%, 0.2735, 268.89)
HWB
hwb(246.8, 4.7%, 12.5%)

Harmony colors

Complementary

#c7df0c

Analogous

#0c5edf
#240cdf
#8d0cdf

Triadic

#240cdf
#df240c
#0cdf24

Split-complementary

#240cdf
#df8d0c
#5edf0c

Tetradic

#240cdf
#df0cc7
#c7df0c
#0cdf24

Square

#240cdf
#df0c5e
#c7df0c
#0cdf8d

Shades

Color #240cdf mixed toward black.

#1e0aba
#180895
#120670
#0c044a
#060225

Tints

Color #240cdf mixed toward white.

#3d26f3
#6451f6
#8b7df8
#b1a8fa
#d8d4fd

Tones

Color #240cdf mixed toward gray.

#321ece
#3f2fbc
#4d41aa
#5a5299
#686487

Accessibility

Aa White text on this color
9.58:1
Aa Black text on this color
2.19:1

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

Under color vision deficiencies

Protanopia

#1c1cc5 · ΔE 3.3

Deuteranopia

#1d1fbe · ΔE 4.2

Tritanopia

#23ada8 · ΔE 52.2

Achromatopsia

#454545 · ΔE 32.3

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

Code

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

Related colors

Slate Blue #6a5acd
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Navy #000080
Lavender #e6e6fa
Blue #0000ff

Frequently asked questions

#240cdf (#240cdf) is rgb(36, 12, 223) in RGB.

No, #240cdf 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 #240cdf, 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.