Skip to content
Kolorvia
#3a28ba

Color #3a28ba

A moderately saturated medium blue.

Conversions

HEX
#3a28ba
RGB
rgb(58, 40, 186)
HSL
hsl(247.4, 64.6%, 44.3%)
HSV / HSB
hsv(247.4, 78.5%, 72.9%)
CMYK
cmyk(68.8%, 78.5%, 0%, 27.1%)
LAB
lab(29.31, 51, -73.02)
LCH
lch(29.31, 89.07, 304.93)
OKLCH
oklch(41.3%, 0.2127, 277.19)
HWB
hwb(247.4, 15.7%, 27.1%)

Harmony colors

Complementary

#a8ba28

Analogous

#285fba
#3a28ba
#8328ba

Triadic

#3a28ba
#ba3a28
#28ba3a

Split-complementary

#3a28ba
#ba8328
#5fba28

Tetradic

#3a28ba
#ba28a8
#a8ba28
#28ba3a

Square

#3a28ba
#ba285f
#a8ba28
#28ba83

Shades

Color #3a28ba mixed toward black.

#30219b
#271b7c
#1d145d
#130d3e
#0a071f

Tints

Color #3a28ba mixed toward white.

#4f3cd5
#7263dd
#958ae6
#b9b1ee
#dcd8f7

Tones

Color #3a28ba mixed toward gray.

#4334ae
#4c40a2
#554c95
#5f5989
#68657d

Accessibility

Aa White text on this color
9.58:1
Aa Black text on this color
2.19:1

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

Under color vision deficiencies

Protanopia

#3333a5 · ΔE 4.1

Deuteranopia

#3435a0 · ΔE 5

Tritanopia

#39928d · ΔE 42.9

Achromatopsia

#454545 · ΔE 29.7

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

Code

CSS
background-color: #3a28ba;
Tailwind (arbitrary value)
bg-[#3a28ba]

Related colors

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

Frequently asked questions

#3a28ba (#3a28ba) is rgb(58, 40, 186) in RGB.

No, #3a28ba 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 #3a28ba, 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.