Color #28328d
A moderately saturated dark blue.
Conversions
#28328d
rgb(40, 50, 141)
hsl(234.1, 55.8%, 35.5%)
hsv(234.1, 71.6%, 55.3%)
cmyk(71.6%, 64.5%, 0%, 44.7%)
lab(25.73, 27.93, -51.71)
lch(25.73, 58.77, 298.37)
oklch(37.1%, 0.1494, 271.99)
hwb(234.1, 15.7%, 44.7%)
Harmony colors
Accessibility
White text reads better on this background (10.87:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2d2d7e · ΔE 2.8
Deuteranopia
#2c2b7a · ΔE 3.6
Tritanopia
#29716e · ΔE 33.8
Achromatopsia
#3d3d3d · ΔE 25.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #28328d;
bg-[#28328d]
Related colors
Frequently asked questions
#28328d (#28328d) is rgb(40, 50, 141) in RGB.
No, #28328d is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #28328d, or check how it holds up for accessibility.