Color #2a3362
A moderately saturated dark blue.
Conversions
#2a3362
rgb(42, 51, 98)
hsl(230.4, 40%, 27.5%)
hsv(230.4, 57.1%, 38.4%)
cmyk(57.1%, 48%, 0%, 61.6%)
lab(22.8, 11.52, -29.12)
lch(22.8, 31.32, 291.58)
oklch(33.9%, 0.0829, 273.04)
hwb(230.4, 16.5%, 61.6%)
Harmony colors
Accessibility
White text reads better on this background (12.01:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2e2e59 · ΔE 3.1
Deuteranopia
#2e2d57 · ΔE 3.6
Tritanopia
#2a5250 · ΔE 25.2
Achromatopsia
#363636 · ΔE 19
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a3362;
bg-[#2a3362]
Related colors
Frequently asked questions
#2a3362 (#2a3362) is rgb(42, 51, 98) in RGB.
No, #2a3362 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 #2a3362, or check how it holds up for accessibility.