Color #2e283f
A muted dark blue.
Conversions
#2e283f
rgb(46, 40, 63)
hsl(255.7, 22.3%, 20.2%)
hsv(255.7, 36.5%, 24.7%)
cmyk(27%, 36.5%, 0%, 75.3%)
lab(17.72, 8.74, -13.61)
lch(17.72, 16.17, 302.71)
oklch(29.4%, 0.0418, 295.65)
hwb(255.7, 15.7%, 75.3%)
Harmony colors
Accessibility
White text reads better on this background (14.08:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2c2b3a · ΔE 4.7
Deuteranopia
#2c2c39 · ΔE 6
Tritanopia
#2e3635 · ΔE 16.9
Achromatopsia
#2b2b2b · ΔE 13.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2e283f;
bg-[#2e283f]
Related colors
Frequently asked questions
#2e283f (#2e283f) is rgb(46, 40, 63) in RGB.
No, #2e283f 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 #2e283f, or check how it holds up for accessibility.