Color #2a334a
A muted dark blue.
Conversions
#2a334a
rgb(42, 51, 74)
hsl(223.1, 27.6%, 22.7%)
hsv(223.1, 43.2%, 29%)
cmyk(43.2%, 31.1%, 0%, 71%)
lab(21.41, 3.08, -15.42)
lch(21.41, 15.72, 281.3)
oklch(32.4%, 0.0429, 267.6)
hwb(223.1, 16.5%, 71%)
Harmony colors
Accessibility
White text reads better on this background (12.57:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2e2e45 · ΔE 4.3
Deuteranopia
#2e2d44 · ΔE 4.8
Tritanopia
#2a4140 · ΔE 16.7
Achromatopsia
#333333 · ΔE 11.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a334a;
bg-[#2a334a]
Related colors
Frequently asked questions
#2a334a (#2a334a) is rgb(42, 51, 74) in RGB.
No, #2a334a 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 #2a334a, or check how it holds up for accessibility.