Color #2a6799
A moderately saturated dark blue.
Conversions
#2a6799
rgb(42, 103, 153)
hsl(207, 56.9%, 38.2%)
hsv(207, 72.5%, 60%)
cmyk(72.5%, 32.7%, 0%, 40%)
lab(41.99, -2.27, -32.9)
lch(41.99, 32.98, 266.05)
oklch(49.8%, 0.1016, 246.56)
hwb(207, 16.5%, 40%)
Harmony colors
Accessibility
White text reads better on this background (6:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#4c4c8f · ΔE 14.6
Deuteranopia
#48438c · ΔE 16.7
Tritanopia
#2f8684 · ΔE 22.8
Achromatopsia
#636363 · ΔE 19
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a6799;
bg-[#2a6799]
Related colors
Frequently asked questions
#2a6799 (#2a6799) is rgb(42, 103, 153) in RGB.
No, #2a6799 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 #2a6799, or check how it holds up for accessibility.