Color #342bbf
A moderately saturated medium blue.
Conversions
#342bbf
rgb(52, 43, 191)
hsl(243.6, 63.2%, 45.9%)
hsv(243.6, 77.5%, 74.9%)
cmyk(72.8%, 77.5%, 0%, 25.1%)
lab(29.96, 50.5, -74.93)
lch(29.96, 90.36, 303.98)
oklch(41.8%, 0.2173, 274.25)
hwb(243.6, 16.9%, 25.1%)
Harmony colors
Accessibility
White text reads better on this background (9.36:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3030aa · ΔE 3.1
Deuteranopia
#3131a4 · ΔE 4
Tritanopia
#349691 · ΔE 43.9
Achromatopsia
#474747 · ΔE 29.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #342bbf;
bg-[#342bbf]
Related colors
Frequently asked questions
#342bbf (#342bbf) is rgb(52, 43, 191) in RGB.
No, #342bbf 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 #342bbf, or check how it holds up for accessibility.