Color #273151
A muted dark blue.
Conversions
#273151
rgb(39, 49, 81)
hsl(225.7, 35%, 23.5%)
hsv(225.7, 51.9%, 31.8%)
cmyk(51.9%, 39.5%, 0%, 68.2%)
lab(20.91, 5.96, -20.9)
lch(20.91, 21.73, 285.92)
oklch(32%, 0.0589, 269.71)
hwb(225.7, 15.3%, 68.2%)
Harmony colors
Accessibility
White text reads better on this background (12.77:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2c2c4b · ΔE 3.8
Deuteranopia
#2b2a49 · ΔE 4.4
Tritanopia
#284544 · ΔE 20.7
Achromatopsia
#323232 · ΔE 15
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #273151;
bg-[#273151]
Related colors
Frequently asked questions
#273151 (#273151) is rgb(39, 49, 81) in RGB.
No, #273151 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 #273151, or check how it holds up for accessibility.