Skip to content
Kolorvia
#342457

Color #342457

A moderately saturated dark blue.

Conversions

HEX
#342457
RGB
rgb(52, 36, 87)
HSL
hsl(258.8, 41.5%, 24.1%)
HSV / HSB
hsv(258.8, 58.6%, 34.1%)
CMYK
cmyk(40.2%, 58.6%, 0%, 65.9%)
LAB
lab(18.71, 20.85, -28.33)
LCH
lch(18.71, 35.18, 306.35)
OKLCH
oklch(30.8%, 0.0887, 295.15)
HWB
hwb(258.8, 14.1%, 65.9%)

Harmony colors

Complementary

#475724

Analogous

#242d57
#342457
#4d2457

Triadic

#342457
#573424
#245734

Split-complementary

#342457
#574d24
#2d5724

Tetradic

#342457
#572447
#475724
#245734

Square

#342457
#57242d
#475724
#24574d

Shades

Color #342457 mixed toward black.

#2b1e48
#23183a
#1a122b
#110c1d
#09060e

Tints

Color #342457 mixed toward white.

#4f3785
#6a4ab2
#8f76c6
#b4a4d9
#dad1ec

Tones

Color #342457 mixed toward gray.

#362853
#372c4e
#39314a
#3a3546
#3c3942

Accessibility

Aa White text on this color
13.67:1
Aa Black text on this color
1.54:1

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

Under color vision deficiencies

Protanopia

#2e2e4e · ΔE 6.8

Deuteranopia

#2f304c · ΔE 8.2

Tritanopia

#334644 · ΔE 24.8

Achromatopsia

#2e2e2e · ΔE 21.1

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

Code

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

Related colors

Medium Purple #9370db
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd
Rebecca Purple #663399
Blue Violet #8a2be2

Frequently asked questions

#342457 (#342457) is rgb(52, 36, 87) in RGB.

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