Color #272f40
A muted dark blue.
Conversions
#272f40
rgb(39, 47, 64)
hsl(220.8, 24.3%, 20.2%)
hsv(220.8, 39.1%, 25.1%)
cmyk(39.1%, 26.6%, 0%, 74.9%)
lab(19.37, 1.57, -11.82)
lch(19.37, 11.92, 277.57)
oklch(30.5%, 0.0328, 264.93)
hwb(220.8, 15.3%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (13.4:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2b2b3c · ΔE 4.3
Deuteranopia
#2a2a3b · ΔE 4.4
Tritanopia
#273939 · ΔE 12.8
Achromatopsia
#2f2f2f · ΔE 9.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #272f40;
bg-[#272f40]
Related colors
Frequently asked questions
#272f40 (#272f40) is rgb(39, 47, 64) in RGB.
No, #272f40 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 #272f40, or check how it holds up for accessibility.