Color #2a304a
A muted dark blue.
Conversions
#2a304a
rgb(42, 48, 74)
hsl(228.8, 27.6%, 22.7%)
hsv(228.8, 43.2%, 29%)
cmyk(43.2%, 35.1%, 0%, 71%)
lab(20.44, 5.17, -16.92)
lch(20.44, 17.69, 286.99)
oklch(31.6%, 0.0474, 273.51)
hwb(228.8, 16.5%, 71%)
Harmony colors
Accessibility
White text reads better on this background (12.96:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2d2d45 · ΔE 2.6
Deuteranopia
#2c2c43 · ΔE 2.8
Tritanopia
#2a403f · ΔE 18.5
Achromatopsia
#313131 · ΔE 13.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a304a;
bg-[#2a304a]
Related colors
Frequently asked questions
#2a304a (#2a304a) is rgb(42, 48, 74) in RGB.
No, #2a304a 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 #2a304a, or check how it holds up for accessibility.