Color #338068
A moderately saturated dark green.
Conversions
#338068
rgb(51, 128, 104)
hsl(161.3, 43%, 35.1%)
hsv(161.3, 60.2%, 50.2%)
cmyk(60.2%, 0%, 18.8%, 49.8%)
lab(48.44, -29.86, 6.02)
lch(48.44, 30.46, 168.6)
oklch(54.5%, 0.0852, 169.59)
hwb(161.3, 20%, 49.8%)
Harmony colors
Accessibility
White text reads better on this background (4.74:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5e5f6e · ΔE 27.2
Deuteranopia
#5a5470 · ΔE 32.2
Tritanopia
#3a7374 · ΔE 11.2
Achromatopsia
#737373 · ΔE 21.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #338068;
bg-[#338068]
Related colors
Frequently asked questions
#338068 (#338068) is rgb(51, 128, 104) in RGB.
No, #338068 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 #338068, or check how it holds up for accessibility.