Color #34235b
A moderately saturated dark blue.
Conversions
#34235b
rgb(52, 35, 91)
hsl(258.2, 44.4%, 24.7%)
hsv(258.2, 61.5%, 35.7%)
cmyk(42.9%, 61.5%, 0%, 64.3%)
lab(18.75, 22.76, -30.95)
lch(18.75, 38.42, 306.33)
oklch(30.9%, 0.0963, 294.01)
hwb(258.2, 13.7%, 64.3%)
Harmony colors
Accessibility
White text reads better on this background (13.66:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2d2d52 · ΔE 6.3
Deuteranopia
#2e304f · ΔE 8.2
Tritanopia
#334947 · ΔE 25.4
Achromatopsia
#2e2e2e · ΔE 21.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #34235b;
bg-[#34235b]
Related colors
Frequently asked questions
#34235b (#34235b) is rgb(52, 35, 91) in RGB.
No, #34235b is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #34235b, or check how it holds up for accessibility.