Color #5e79a6
A muted medium blue.
Conversions
#5e79a6
rgb(94, 121, 166)
hsl(217.5, 28.8%, 51%)
hsv(217.5, 43.4%, 65.1%)
cmyk(43.4%, 27.1%, 0%, 34.9%)
lab(50.46, 2.43, -27.12)
lch(50.46, 27.23, 275.12)
oklch(57.4%, 0.0767, 260.39)
hwb(217.5, 36.9%, 34.9%)
Harmony colors
Accessibility
Black text reads better on this background (4.76:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6b6b9d · ΔE 8.6
Deuteranopia
#69679a · ΔE 9.6
Tritanopia
#609593 · ΔE 22.1
Achromatopsia
#787878 · ΔE 16.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5e79a6;
bg-[#5e79a6]
Related colors
Frequently asked questions
#5e79a6 (#5e79a6) is rgb(94, 121, 166) in RGB.
No, #5e79a6 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 #5e79a6, or check how it holds up for accessibility.