Color #2b2f6b
A moderately saturated dark blue.
Conversions
#2b2f6b
rgb(43, 47, 107)
hsl(236.3, 42.7%, 29.4%)
hsv(236.3, 59.8%, 42%)
cmyk(59.8%, 56.1%, 0%, 58%)
lab(22.33, 17.86, -35.71)
lch(22.33, 39.93, 296.57)
oklch(33.7%, 0.1029, 276.53)
hwb(236.3, 16.9%, 58%)
Harmony colors
Accessibility
White text reads better on this background (12.2:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2d2d61 · ΔE 2.3
Deuteranopia
#2d2c5e · ΔE 2.9
Tritanopia
#2b5755 · ΔE 27.3
Achromatopsia
#353535 · ΔE 21.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2b2f6b;
bg-[#2b2f6b]
Related colors
Frequently asked questions
#2b2f6b (#2b2f6b) is rgb(43, 47, 107) in RGB.
No, #2b2f6b 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 #2b2f6b, or check how it holds up for accessibility.