Skip to content
Kolorvia
#2a1aff

Color #2a1aff

A vivid, highly saturated medium blue.

Conversions

HEX
#2a1aff
RGB
rgb(42, 26, 255)
HSL
hsl(244.2, 100%, 55.1%)
HSV / HSB
hsv(244.2, 89.8%, 100%)
CMYK
cmyk(83.5%, 89.8%, 0%, 0%)
LAB
lab(34.9, 74.83, -103.48)
LCH
lch(34.9, 127.7, 305.87)
OKLCH
oklch(47.3%, 0.2993, 268.68)
HWB
hwb(244.2, 10.2%, 0%)

Harmony colors

Complementary

#efff1a

Analogous

#1a7cff
#2a1aff
#9d1aff

Triadic

#2a1aff
#ff2a1a
#1aff2a

Split-complementary

#2a1aff
#ff9d1a
#7cff1a

Tetradic

#2a1aff
#ff1aef
#efff1a
#1aff2a

Square

#2a1aff
#ff1a7c
#efff1a
#1aff9d

Shades

Color #2a1aff mixed toward black.

#1000ea
#0d00bb
#0a008d
#07005e
#03002f

Tints

Color #2a1aff mixed toward white.

#4e40ff
#7166ff
#958dff
#b8b3ff
#dcd9ff

Tones

Color #2a1aff mixed toward gray.

#3a2dec
#4b40d9
#5b53c6
#6c66b3
#7c79a0

Accessibility

Aa White text on this color
7.81:1
Aa Black text on this color
2.69:1

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

Under color vision deficiencies

Protanopia

#2424e2 · ΔE 3.4

Deuteranopia

#2526da · ΔE 4.3

Tritanopia

#29c7c0 · ΔE 55.4

Achromatopsia

#525252 · ΔE 33

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

Code

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

Related colors

Slate Blue #6a5acd
Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b
Ghost White #f8f8ff

Frequently asked questions

#2a1aff (#2a1aff) is rgb(42, 26, 255) in RGB.

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