Color #271c41
A muted very dark blue.
Conversions
#271c41
rgb(39, 28, 65)
hsl(257.8, 39.8%, 18.2%)
hsv(257.8, 56.9%, 25.5%)
cmyk(40%, 56.9%, 0%, 74.5%)
lab(13.49, 15.5, -21.72)
lch(13.49, 26.68, 305.51)
oklch(26.1%, 0.0676, 295.01)
hwb(257.8, 11%, 74.5%)
Harmony colors
Accessibility
White text reads better on this background (15.8:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#23233a · ΔE 6.7
Deuteranopia
#232439 · ΔE 7.7
Tritanopia
#273533 · ΔE 23.1
Achromatopsia
#232323 · ΔE 18.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #271c41;
bg-[#271c41]
Related colors
Frequently asked questions
#271c41 (#271c41) is rgb(39, 28, 65) in RGB.
No, #271c41 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 #271c41, or check how it holds up for accessibility.