Skip to content
Kolorvia
#2a397d

Color #2a397d

A moderately saturated dark blue.

Conversions

HEX
#2a397d
RGB
rgb(42, 57, 125)
HSL
hsl(229.2, 49.7%, 32.7%)
HSV / HSB
hsv(229.2, 66.4%, 49%)
CMYK
cmyk(66.4%, 54.4%, 0%, 51%)
LAB
lab(26.44, 17.44, -40.55)
LCH
lch(26.44, 44.14, 293.27)
OKLCH
oklch(37.3%, 0.1164, 270.44)
HWB
hwb(229.2, 16.5%, 51%)

Harmony colors

Complementary

#7d6e2a

Analogous

#2a627d
#2a397d
#442a7d

Triadic

#2a397d
#7d2a39
#397d2a

Split-complementary

#2a397d
#7d442a
#627d2a

Tetradic

#2a397d
#6e2a7d
#7d6e2a
#397d2a

Square

#2a397d
#7d2a62
#7d6e2a
#2a7d44

Shades

Color #2a397d mixed toward black.

#232f68
#1c2653
#151c3e
#0e132a
#070915

Tints

Color #2a397d mixed toward white.

#384ca8
#5468c5
#7f8ed4
#a9b4e2
#d4d9f1

Tones

Color #2a397d mixed toward gray.

#313d76
#38426f
#3f4668
#464b61
#4c4f5a

Accessibility

Aa White text on this color
10.61:1
Aa Black text on this color
1.98:1

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

Under color vision deficiencies

Protanopia

#313171 · ΔE 3.9

Deuteranopia

#302f6e · ΔE 4.5

Tritanopia

#2b6664 · ΔE 28.8

Achromatopsia

#3f3f3f · ΔE 22.6

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

Code

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

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b

Frequently asked questions

#2a397d (#2a397d) is rgb(42, 57, 125) in RGB.

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