Skip to content
Kolorvia
#4012ca

Color #4012ca

A vivid, highly saturated medium blue.

Conversions

HEX
#4012ca
RGB
rgb(64, 18, 202)
HSL
hsl(255, 83.6%, 43.1%)
HSV / HSB
hsv(255, 91.1%, 79.2%)
CMYK
cmyk(68.3%, 91.1%, 0%, 20.8%)
LAB
lab(28.87, 64.15, -83.17)
LCH
lch(28.87, 105.04, 307.64)
OKLCH
oklch(41.7%, 0.2429, 278.9)
HWB
hwb(255, 7.1%, 20.8%)

Harmony colors

Complementary

#9cca12

Analogous

#1240ca
#4012ca
#9c12ca

Triadic

#4012ca
#ca4012
#12ca40

Split-complementary

#4012ca
#ca9c12
#40ca12

Tetradic

#4012ca
#ca129c
#9cca12
#12ca40

Square

#4012ca
#ca1240
#9cca12
#12ca9c

Shades

Color #4012ca mixed toward black.

#350fa8
#2b0c87
#200965
#150643
#0b0322

Tints

Color #4012ca mixed toward white.

#5421eb
#764def
#987af3
#baa6f7
#ddd3fb

Tones

Color #4012ca mixed toward gray.

#4821ba
#4f31ab
#57409c
#5f4f8d
#665f7d

Accessibility

Aa White text on this color
9.73:1
Aa Black text on this color
2.16:1

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

Under color vision deficiencies

Protanopia

#3231b3 · ΔE 5.9

Deuteranopia

#3437ad · ΔE 7.6

Tritanopia

#3f9d98 · ΔE 46.8

Achromatopsia

#444444 · ΔE 31.2

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

Code

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

Related colors

Medium Purple #9370db
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd
Navy #000080
Lavender #e6e6fa

Frequently asked questions

#4012ca (#4012ca) is rgb(64, 18, 202) in RGB.

No, #4012ca is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #4012ca, 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.