Skip to content
Kolorvia
#212ecc

Color #212ecc

A vivid, highly saturated medium blue.

Conversions

HEX
#212ecc
RGB
rgb(33, 46, 204)
HSL
hsl(235.4, 72.2%, 46.5%)
HSV / HSB
hsv(235.4, 83.8%, 80%)
CMYK
cmyk(83.8%, 77.5%, 0%, 20%)
LAB
lab(30.96, 51.84, -80.91)
LCH
lch(30.96, 96.09, 302.65)
OKLCH
oklch(42.7%, 0.2346, 268.17)
HWB
hwb(235.4, 12.9%, 20%)

Harmony colors

Complementary

#ccbf21

Analogous

#2184cc
#212ecc
#6921cc

Triadic

#212ecc
#cc212e
#2ecc21

Split-complementary

#212ecc
#cc6921
#84cc21

Tetradic

#212ecc
#bf21cc
#ccbf21
#2ecc21

Square

#212ecc
#cc2184
#ccbf21
#21cc69

Shades

Color #212ecc mixed toward black.

#1b26aa
#161f88
#101766
#0b0f44
#050822

Tints

Color #212ecc mixed toward white.

#3b48df
#626ce6
#8a91ec
#b1b6f2
#d8daf9

Tones

Color #212ecc mixed toward gray.

#2f3abe
#3e46b0
#4c52a1
#5a5e93
#686a85

Accessibility

Aa White text on this color
9.02:1
Aa Black text on this color
2.33:1

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

Under color vision deficiencies

Protanopia

#2727b5 · ΔE 3.4

Deuteranopia

#2625af · ΔE 4.3

Tritanopia

#22a19b · ΔE 47.2

Achromatopsia

#494949 · ΔE 30.4

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

Code

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

Related colors

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

Frequently asked questions

#212ecc (#212ecc) is rgb(33, 46, 204) in RGB.

No, #212ecc 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 #212ecc, 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.