Skip to content
Kolorvia
#2a1799

Color #2a1799

A vivid, highly saturated dark blue.

Conversions

HEX
#2a1799
RGB
rgb(42, 23, 153)
HSL
hsl(248.8, 73.9%, 34.5%)
HSV / HSB
hsv(248.8, 85%, 60%)
CMYK
cmyk(72.5%, 85%, 0%, 40%)
LAB
lab(21.6, 47.63, -65.92)
LCH
lch(21.6, 81.33, 305.85)
OKLCH
oklch(34.6%, 0.1916, 276.11)
HWB
hwb(248.8, 9%, 40%)

Harmony colors

Complementary

#869917

Analogous

#174599
#2a1799
#6b1799

Triadic

#2a1799
#992a17
#17992a

Split-complementary

#2a1799
#996b17
#459917

Tetradic

#2a1799
#991786
#869917
#17992a

Square

#2a1799
#991745
#869917
#17996b

Shades

Color #2a1799 mixed toward black.

#23137f
#1c0f66
#150b4c
#0e0833
#070419

Tints

Color #2a1799 mixed toward white.

#371ec9
#563de2
#806ee9
#aa9ef0
#d5cff8

Tones

Color #2a1799 mixed toward gray.

#32228e
#392d83
#413778
#49426e
#504d63

Accessibility

Aa White text on this color
12.49:1
Aa Black text on this color
1.68:1

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

Under color vision deficiencies

Protanopia

#232387 · ΔE 4.1

Deuteranopia

#242583 · ΔE 5

Tritanopia

#297773 · ΔE 39.2

Achromatopsia

#343434 · ΔE 28.8

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

Code

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

Related colors

Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd
Navy #000080
Lavender #e6e6fa
Blue #0000ff

Frequently asked questions

#2a1799 (#2a1799) is rgb(42, 23, 153) in RGB.

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