Color #27314e
A muted dark blue.
Conversions
#27314e
rgb(39, 49, 78)
hsl(224.6, 33.3%, 22.9%)
hsv(224.6, 50%, 30.6%)
cmyk(50%, 37.2%, 0%, 69.4%)
lab(20.74, 4.9, -19.16)
lch(20.74, 19.78, 284.35)
oklch(31.8%, 0.0538, 268.72)
hwb(224.6, 15.3%, 69.4%)
Harmony colors
Accessibility
White text reads better on this background (12.84:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2c2c48 · ΔE 4.1
Deuteranopia
#2b2a47 · ΔE 4.7
Tritanopia
#284342 · ΔE 19.5
Achromatopsia
#323232 · ΔE 14
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #27314e;
bg-[#27314e]
Related colors
Frequently asked questions
#27314e (#27314e) is rgb(39, 49, 78) in RGB.
No, #27314e 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 #27314e, or check how it holds up for accessibility.