Skip to content
Kolorvia
#342c56

Color #342c56

A muted dark blue.

Conversions

HEX
#342c56
RGB
rgb(52, 44, 86)
HSL
hsl(251.4, 32.3%, 25.5%)
HSV / HSB
hsv(251.4, 48.8%, 33.7%)
CMYK
cmyk(39.5%, 48.8%, 0%, 66.3%)
LAB
lab(20.84, 15.07, -24.28)
LCH
lch(20.84, 28.58, 301.83)
OKLCH
oklch(32.4%, 0.073, 290.45)
HWB
hwb(251.4, 17.3%, 66.3%)

Harmony colors

Complementary

#4e562c

Analogous

#2c3956
#342c56
#492c56

Triadic

#342c56
#56342c
#2c5634

Split-complementary

#342c56
#56492c
#39562c

Tetradic

#342c56
#562c4e
#4e562c
#2c5634

Square

#342c56
#562c39
#4e562c
#2c5649

Shades

Color #342c56 mixed toward black.

#2b2548
#231d39
#1a162b
#110f1d
#09070e

Tints

Color #342c56 mixed toward white.

#4d4180
#6757a9
#8d81bf
#b3abd4
#d9d5ea

Tones

Color #342c56 mixed toward gray.

#363053
#38334f
#3b374c
#3d3a48
#3f3e45

Accessibility

Aa White text on this color
12.8:1
Aa Black text on this color
1.64:1

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

Under color vision deficiencies

Protanopia

#31314e · ΔE 4.9

Deuteranopia

#31324c · ΔE 6.1

Tritanopia

#344746 · ΔE 23.4

Achromatopsia

#323232 · ΔE 18.8

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

Code

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

Related colors

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

Frequently asked questions

#342c56 (#342c56) is rgb(52, 44, 86) in RGB.

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