Skip to content
Kolorvia
#342864

Color #342864

A moderately saturated dark blue.

Conversions

HEX
#342864
RGB
rgb(52, 40, 100)
HSL
hsl(252, 42.9%, 27.5%)
HSV / HSB
hsv(252, 60%, 39.2%)
CMYK
cmyk(48%, 60%, 0%, 60.8%)
LAB
lab(20.7, 22.34, -33.74)
LCH
lch(20.7, 40.47, 303.51)
OKLCH
oklch(32.6%, 0.1015, 288.67)
HWB
hwb(252, 15.7%, 60.8%)

Harmony colors

Complementary

#586428

Analogous

#283a64
#342864
#522864

Triadic

#342864
#643428
#286434

Split-complementary

#342864
#645228
#3a6428

Tetradic

#342864
#642858
#586428
#286434

Square

#342864
#64283a
#586428
#286452

Shades

Color #342864 mixed toward black.

#2b2154
#231b43
#1a1432
#110d21
#090711

Tints

Color #342864 mixed toward white.

#4b3a90
#644fb9
#8b7bca
#b2a7dc
#d8d3ed

Tones

Color #342864 mixed toward gray.

#372d5f
#3a325a
#3d3755
#403c50
#43414b

Accessibility

Aa White text on this color
12.86:1
Aa Black text on this color
1.63:1

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

Under color vision deficiencies

Protanopia

#2f2f5a · ΔE 4.7

Deuteranopia

#303157 · ΔE 6.1

Tritanopia

#33514e · ΔE 27

Achromatopsia

#323232 · ΔE 22.2

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

Code

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

Related colors

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

Frequently asked questions

#342864 (#342864) is rgb(52, 40, 100) in RGB.

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