Color #2e3142
A muted dark blue.
Conversions
#2e3142
rgb(46, 49, 66)
hsl(231, 17.9%, 22%)
hsv(231, 30.3%, 25.9%)
cmyk(30.3%, 25.8%, 0%, 74.1%)
lab(20.72, 3.33, -11.06)
lch(20.72, 11.55, 286.76)
oklch(31.8%, 0.0306, 276.75)
hwb(231, 18%, 74.1%)
Harmony colors
Accessibility
White text reads better on this background (12.85:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2f2f3e · ΔE 1.7
Deuteranopia
#2f2f3d · ΔE 1.9
Tritanopia
#2e3b3b · ΔE 13
Achromatopsia
#323232 · ΔE 9.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2e3142;
bg-[#2e3142]
Related colors
Frequently asked questions
#2e3142 (#2e3142) is rgb(46, 49, 66) in RGB.
No, #2e3142 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 #2e3142, or check how it holds up for accessibility.