Color #274791
A moderately saturated dark blue.
Conversions
#274791
rgb(39, 71, 145)
hsl(221.9, 57.6%, 36.1%)
hsv(221.9, 73.1%, 56.9%)
cmyk(73.1%, 51%, 0%, 43.1%)
lab(31.76, 15.04, -44.37)
lch(31.76, 46.85, 288.73)
oklch(41.7%, 0.1281, 264.04)
hwb(221.9, 15.3%, 43.1%)
Harmony colors
Accessibility
White text reads better on this background (8.76:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#373884 · ΔE 6.8
Deuteranopia
#363380 · ΔE 8.3
Tritanopia
#297875 · ΔE 30.6
Achromatopsia
#4b4b4b · ΔE 23
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #274791;
bg-[#274791]
Related colors
Frequently asked questions
#274791 (#274791) is rgb(39, 71, 145) in RGB.
No, #274791 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 #274791, or check how it holds up for accessibility.