Color #51427f
A muted dark blue.
Conversions
#51427f
rgb(81, 66, 127)
hsl(254.8, 31.6%, 37.8%)
hsv(254.8, 48%, 49.8%)
cmyk(36.2%, 48%, 0%, 50.2%)
lab(32.21, 21.54, -32.39)
lch(32.21, 38.9, 303.62)
oklch(42.4%, 0.0992, 293.02)
hwb(254.8, 25.9%, 50.2%)
Harmony colors
Accessibility
White text reads better on this background (8.62:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4b4b74 · ΔE 5.7
Deuteranopia
#4c4d71 · ΔE 7.1
Tritanopia
#506a68 · ΔE 26
Achromatopsia
#4c4c4c · ΔE 21.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #51427f;
bg-[#51427f]
Related colors
Frequently asked questions
#51427f (#51427f) is rgb(81, 66, 127) in RGB.
No, #51427f 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 #51427f, or check how it holds up for accessibility.