Color #2f266e
A moderately saturated dark blue.
Conversions
#2f266e
rgb(47, 38, 110)
hsl(247.5, 48.6%, 29%)
hsv(247.5, 65.5%, 43.1%)
cmyk(57.3%, 65.5%, 0%, 56.9%)
lab(20.5, 25.91, -40.6)
lch(20.5, 48.16, 302.55)
oklch(32.6%, 0.1197, 283.19)
hwb(247.5, 14.9%, 56.9%)
Harmony colors
Accessibility
White text reads better on this background (12.94:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2b2b62 · ΔE 3.8
Deuteranopia
#2c2d5f · ΔE 4.9
Tritanopia
#2f5855 · ΔE 29.2
Achromatopsia
#313131 · ΔE 23.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f266e;
bg-[#2f266e]
Related colors
Frequently asked questions
#2f266e (#2f266e) is rgb(47, 38, 110) in RGB.
No, #2f266e is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #2f266e, or check how it holds up for accessibility.