Color #272a33
A nearly neutral, gray-leaning very dark blue.
Conversions
#272a33
rgb(39, 42, 51)
hsl(225, 13.3%, 17.6%)
hsv(225, 23.5%, 20%)
cmyk(23.5%, 17.6%, 0%, 80%)
lab(17.11, 1.09, -6.26)
lch(17.11, 6.35, 279.88)
oklch(28.6%, 0.017, 270.67)
hwb(225, 15.3%, 80%)
Harmony colors
Accessibility
White text reads better on this background (14.33:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#282831 · ΔE 1.9
Deuteranopia
#282830 · ΔE 1.8
Tritanopia
#272f2f · ΔE 7.5
Achromatopsia
#2a2a2a · ΔE 5.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #272a33;
bg-[#272a33]
Related colors
Frequently asked questions
#272a33 (#272a33) is rgb(39, 42, 51) in RGB.
No, #272a33 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 #272a33, or check how it holds up for accessibility.