Skip to content
Kolorvia
#342b4e

Color #342b4e

A muted dark blue.

Conversions

HEX
#342b4e
RGB
rgb(52, 43, 78)
HSL
hsl(255.4, 28.9%, 23.7%)
HSV / HSB
hsv(255.4, 44.9%, 30.6%)
CMYK
cmyk(33.3%, 44.9%, 0%, 69.4%)
LAB
lab(20.08, 13.27, -20.13)
LCH
lch(20.08, 24.11, 303.39)
OKLCH
oklch(31.6%, 0.0618, 294.45)
HWB
hwb(255.4, 16.9%, 69.4%)

Harmony colors

Complementary

#454e2b

Analogous

#2b334e
#342b4e
#452b4e

Triadic

#342b4e
#4e342b
#2b4e34

Split-complementary

#342b4e
#4e452b
#334e2b

Tetradic

#342b4e
#4e2b45
#454e2b
#2b4e34

Square

#342b4e
#4e2b33
#454e2b
#2b4e45

Shades

Color #342b4e mixed toward black.

#2b2441
#231d34
#1a1527
#110e1a
#09070d

Tints

Color #342b4e mixed toward white.

#504278
#6c59a1
#9082ba
#b5abd1
#dad5e8

Tones

Color #342b4e mixed toward gray.

#352e4b
#373148
#383445
#3a3742
#3b3a3f

Accessibility

Aa White text on this color
13.11:1
Aa Black text on this color
1.6:1

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

Under color vision deficiencies

Protanopia

#303047 · ΔE 5.8

Deuteranopia

#313146 · ΔE 6.6

Tritanopia

#344140 · ΔE 21.5

Achromatopsia

#303030 · ΔE 17.2

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

Code

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

Related colors

Medium Purple #9370db
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd
Rebecca Purple #663399
Navy #000080

Frequently asked questions

#342b4e (#342b4e) is rgb(52, 43, 78) in RGB.

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