Color #2a487c
A moderately saturated dark blue.
Conversions
#2a487c
rgb(42, 72, 124)
hsl(218, 49.4%, 32.5%)
hsv(218, 66.1%, 48.6%)
cmyk(66.1%, 41.9%, 0%, 51.4%)
lab(30.83, 6.8, -32.89)
lch(30.83, 33.59, 281.68)
oklch(40.6%, 0.0949, 260.66)
hwb(218, 16.5%, 51.4%)
Harmony colors
Accessibility
White text reads better on this background (9.07:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#393972 · ΔE 7.8
Deuteranopia
#373570 · ΔE 8.8
Tritanopia
#2c6967 · ΔE 25
Achromatopsia
#494949 · ΔE 19.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a487c;
bg-[#2a487c]
Related colors
Frequently asked questions
#2a487c (#2a487c) is rgb(42, 72, 124) in RGB.
No, #2a487c 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 #2a487c, or check how it holds up for accessibility.