Color #2d27ca
A moderately saturated medium blue.
Conversions
#2d27ca
rgb(45, 39, 202)
hsl(242.2, 67.6%, 47.3%)
hsv(242.2, 80.7%, 79.2%)
cmyk(77.7%, 80.7%, 0%, 20.8%)
lab(30.09, 55.37, -81.18)
lch(30.09, 98.27, 304.3)
oklch(42.2%, 0.235, 271.61)
hwb(242.2, 15.3%, 20.8%)
Harmony colors
Accessibility
White text reads better on this background (9.31:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2b2ab3 · ΔE 3
Deuteranopia
#2b2bad · ΔE 3.8
Tritanopia
#2d9e99 · ΔE 46.6
Achromatopsia
#474747 · ΔE 30.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2d27ca;
bg-[#2d27ca]
Related colors
Frequently asked questions
#2d27ca (#2d27ca) is rgb(45, 39, 202) in RGB.
No, #2d27ca 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 #2d27ca, or check how it holds up for accessibility.