Skip to content
Kolorvia
#21125c

Color #21125c

A moderately saturated dark blue.

Conversions

HEX
#21125c
RGB
rgb(33, 18, 92)
HSL
hsl(252.2, 67.3%, 21.6%)
HSV / HSB
hsv(252.2, 80.4%, 36.1%)
CMYK
cmyk(64.1%, 80.4%, 0%, 63.9%)
LAB
lab(12.79, 29.87, -41.41)
LCH
lch(12.79, 51.06, 305.8)
OKLCH
oklch(26.1%, 0.1226, 283.2)
HWB
hwb(252.2, 7.1%, 63.9%)

Harmony colors

Complementary

#4d5c12

Analogous

#12285c
#21125c
#46125c

Triadic

#21125c
#5c2112
#125c21

Split-complementary

#21125c
#5c4612
#285c12

Tetradic

#21125c
#5c124d
#4d5c12
#125c21

Square

#21125c
#5c1228
#4d5c12
#125c46

Shades

Color #21125c mixed toward black.

#1c0f4d
#160c3d
#11092e
#0b061f
#06030f

Tints

Color #21125c mixed toward white.

#351d94
#4928cc
#7358de
#a290e9
#d0c7f4

Tones

Color #21125c mixed toward gray.

#251856
#281e50
#2c254a
#302b43
#33313d

Accessibility

Aa White text on this color
16.08:1
Aa Black text on this color
1.31:1

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

Under color vision deficiencies

Protanopia

#1b1b51 · ΔE 4.7

Deuteranopia

#1c1d4e · ΔE 5.9

Tritanopia

#204745 · ΔE 28.7

Achromatopsia

#212121 · ΔE 24.3

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

Code

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

Related colors

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

Frequently asked questions

#21125c (#21125c) is rgb(33, 18, 92) in RGB.

No, #21125c 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 #21125c, 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.