Skip to content
Kolorvia
#2a204d

Color #2a204d

A moderately saturated dark blue.

Conversions

HEX
#2a204d
RGB
rgb(42, 32, 77)
HSL
hsl(253.3, 41.3%, 21.4%)
HSV / HSB
hsv(253.3, 58.4%, 30.2%)
CMYK
cmyk(45.5%, 58.4%, 0%, 69.8%)
LAB
lab(15.8, 17.53, -26.3)
LCH
lch(15.8, 31.61, 303.69)
OKLCH
oklch(28.1%, 0.0798, 290.55)
HWB
hwb(253.3, 12.5%, 69.8%)

Harmony colors

Complementary

#434d20

Analogous

#202d4d
#2a204d
#41204d

Triadic

#2a204d
#4d2a20
#204d2a

Split-complementary

#2a204d
#4d4120
#2d4d20

Tetradic

#2a204d
#4d2043
#434d20
#204d2a

Square

#2a204d
#4d202d
#434d20
#204d41

Shades

Color #2a204d mixed toward black.

#231b40
#1c1533
#151027
#0e0b1a
#07050d

Tints

Color #2a204d mixed toward white.

#44347c
#5d47ac
#8471c4
#ada1d8
#d6d0eb

Tones

Color #2a204d mixed toward gray.

#2c2449
#2e2846
#302b42
#322f3e
#34333a

Accessibility

Aa White text on this color
14.87:1
Aa Black text on this color
1.41:1

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

Under color vision deficiencies

Protanopia

#262645 · ΔE 5.1

Deuteranopia

#272743 · ΔE 6.1

Tritanopia

#2a3e3c · ΔE 24.6

Achromatopsia

#272727 · ΔE 19.9

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

Code

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

Related colors

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

Frequently asked questions

#2a204d (#2a204d) is rgb(42, 32, 77) in RGB.

No, #2a204d 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 #2a204d, 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.