Color #2e126f
A vivid, highly saturated dark blue.
Conversions
#2e126f
rgb(46, 18, 111)
hsl(258.1, 72.1%, 25.3%)
hsv(258.1, 83.8%, 43.5%)
cmyk(58.6%, 83.8%, 0%, 56.5%)
lab(16.31, 37.66, -48.11)
lch(16.31, 61.1, 308.05)
oklch(29.6%, 0.1452, 287.47)
hwb(258.1, 7.1%, 56.5%)
Harmony colors
Accessibility
White text reads better on this background (14.66:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#252462 · ΔE 6.7
Deuteranopia
#26285e · ΔE 8.6
Tritanopia
#2d5653 · ΔE 31.2
Achromatopsia
#282828 · ΔE 25.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2e126f;
bg-[#2e126f]
Related colors
Frequently asked questions
#2e126f (#2e126f) is rgb(46, 18, 111) in RGB.
No, #2e126f 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 #2e126f, or check how it holds up for accessibility.