Color #42599d
A moderately saturated medium blue.
Conversions
#42599d
rgb(66, 89, 157)
hsl(224.8, 40.8%, 43.7%)
hsv(224.8, 58%, 61.6%)
cmyk(58%, 43.3%, 0%, 38.4%)
lab(39.13, 12.51, -39.74)
lch(39.13, 41.66, 287.47)
oklch(48%, 0.1131, 267.92)
hwb(224.8, 25.9%, 38.4%)
Harmony colors
Accessibility
White text reads better on this background (6.67:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#4d4d90 · ΔE 6.1
Deuteranopia
#4c4a8d · ΔE 7
Tritanopia
#438582 · ΔE 28.9
Achromatopsia
#5c5c5c · ΔE 21.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #42599d;
bg-[#42599d]
Related colors
Frequently asked questions
#42599d (#42599d) is rgb(66, 89, 157) in RGB.
No, #42599d 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 #42599d, or check how it holds up for accessibility.