Color #2b3158
A muted dark blue.
Conversions
#2b3158
rgb(43, 49, 88)
hsl(232, 34.4%, 25.7%)
hsv(232, 51.1%, 34.5%)
cmyk(51.1%, 44.3%, 0%, 65.5%)
lab(21.63, 9.59, -24.4)
lch(21.63, 26.22, 291.46)
oklch(32.8%, 0.0693, 275.3)
hwb(232, 16.9%, 65.5%)
Harmony colors
Accessibility
White text reads better on this background (12.48:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2e2e51 · ΔE 2.4
Deuteranopia
#2d2d4f · ΔE 2.7
Tritanopia
#2b4a49 · ΔE 23.2
Achromatopsia
#343434 · ΔE 17.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2b3158;
bg-[#2b3158]
Related colors
Frequently asked questions
#2b3158 (#2b3158) is rgb(43, 49, 88) in RGB.
No, #2b3158 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 #2b3158, or check how it holds up for accessibility.