Color #34275b
A moderately saturated dark blue.
Conversions
#34275b
rgb(52, 39, 91)
hsl(255, 40%, 25.5%)
hsv(255, 57.1%, 35.7%)
cmyk(42.9%, 57.1%, 0%, 64.3%)
lab(19.79, 20.09, -29.28)
lch(19.79, 35.51, 304.46)
oklch(31.7%, 0.0896, 292.02)
hwb(255, 15.3%, 64.3%)
Harmony colors
Accessibility
White text reads better on this background (13.23:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2f2f52 · ΔE 5.6
Deuteranopia
#303050 · ΔE 6.5
Tritanopia
#334a48 · ΔE 25.3
Achromatopsia
#303030 · ΔE 21
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #34275b;
bg-[#34275b]
Related colors
Frequently asked questions
#34275b (#34275b) is rgb(52, 39, 91) in RGB.
No, #34275b 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 #34275b, or check how it holds up for accessibility.