Color #343f7a
A moderately saturated dark blue.
Conversions
#343f7a
rgb(52, 63, 122)
hsl(230.6, 40.2%, 34.1%)
hsv(230.6, 57.4%, 47.8%)
cmyk(57.4%, 48.4%, 0%, 52.2%)
lab(28.62, 14.29, -35.14)
lch(28.62, 37.93, 292.13)
oklch(39%, 0.1002, 272.97)
hwb(230.6, 20.4%, 52.2%)
Harmony colors
Accessibility
White text reads better on this background (9.82:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#39396f · ΔE 3.5
Deuteranopia
#38386c · ΔE 3.9
Tritanopia
#356663 · ΔE 27.4
Achromatopsia
#434343 · ΔE 21
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #343f7a;
bg-[#343f7a]
Related colors
Frequently asked questions
#343f7a (#343f7a) is rgb(52, 63, 122) in RGB.
No, #343f7a 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 #343f7a, or check how it holds up for accessibility.