Color #2a3099
A moderately saturated dark blue.
Conversions
#2a3099
rgb(42, 48, 153)
hsl(236.8, 56.9%, 38.2%)
hsv(236.8, 72.5%, 60%)
cmyk(72.5%, 68.6%, 0%, 40%)
lab(26.46, 33.87, -57.89)
lch(26.46, 67.07, 300.33)
oklch(38%, 0.1675, 272.7)
hwb(236.8, 16.5%, 40%)
Harmony colors
Accessibility
White text reads better on this background (10.6:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2d2d89 · ΔE 2.5
Deuteranopia
#2c2c84 · ΔE 3.3
Tritanopia
#2a7a76 · ΔE 36.7
Achromatopsia
#3f3f3f · ΔE 26.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a3099;
bg-[#2a3099]
Related colors
Frequently asked questions
#2a3099 (#2a3099) is rgb(42, 48, 153) in RGB.
No, #2a3099 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 #2a3099, or check how it holds up for accessibility.