Color #271a5a
A moderately saturated dark blue.
Conversions
#271a5a
rgb(39, 26, 90)
hsl(252.2, 55.2%, 22.7%)
hsv(252.2, 71.1%, 35.3%)
cmyk(56.7%, 71.1%, 0%, 64.7%)
lab(15, 25.29, -36.42)
lch(15, 44.34, 304.78)
oklch(27.8%, 0.109, 286.26)
hwb(252.2, 10.2%, 64.7%)
Harmony colors
Accessibility
White text reads better on this background (15.2:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#222250 · ΔE 4.8
Deuteranopia
#23244d · ΔE 6.1
Tritanopia
#264744 · ΔE 27.8
Achromatopsia
#262626 · ΔE 23
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #271a5a;
bg-[#271a5a]
Related colors
Frequently asked questions
#271a5a (#271a5a) is rgb(39, 26, 90) in RGB.
No, #271a5a 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 #271a5a, or check how it holds up for accessibility.