Skip to content
Kolorvia
#2a2770

Color #2a2770

A moderately saturated dark blue.

Conversions

HEX
#2a2770
RGB
rgb(42, 39, 112)
HSL
hsl(242.5, 48.3%, 29.6%)
HSV / HSB
hsv(242.5, 65.2%, 43.9%)
CMYK
cmyk(62.5%, 65.2%, 0%, 56.1%)
LAB
lab(20.49, 24.98, -41.93)
LCH
lch(20.49, 48.81, 300.78)
OKLCH
oklch(32.5%, 0.1221, 278.95)
HWB
hwb(242.5, 15.3%, 56.1%)

Harmony colors

Complementary

#6d7027

Analogous

#274870
#2a2770
#4f2770

Triadic

#2a2770
#702a27
#27702a

Split-complementary

#2a2770
#704f27
#487027

Tetradic

#2a2770
#70276d
#6d7027
#27702a

Square

#2a2770
#702748
#6d7027
#27704f

Shades

Color #2a2770 mixed toward black.

#23215d
#1c1a4b
#151438
#0e0d25
#070713

Tints

Color #2a2770 mixed toward white.

#3b369c
#524ec1
#7d7ad1
#a9a6e0
#d4d3f0

Tones

Color #2a2770 mixed toward gray.

#302d6a
#353364
#3b395e
#403f58
#464552

Accessibility

Aa White text on this color
12.94:1
Aa Black text on this color
1.62:1

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

Under color vision deficiencies

Protanopia

#292964 · ΔE 2.8

Deuteranopia

#292961 · ΔE 3.5

Tritanopia

#2a5957 · ΔE 29.2

Achromatopsia

#313131 · ΔE 23.7

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

Code

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

Related colors

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

Frequently asked questions

#2a2770 (#2a2770) is rgb(42, 39, 112) in RGB.

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