Color #233271
A moderately saturated dark blue.
Conversions
#233271
rgb(35, 50, 113)
hsl(228.5, 52.7%, 29%)
hsv(228.5, 69%, 44.3%)
cmyk(69%, 55.8%, 0%, 55.7%)
lab(23.1, 16.44, -38.35)
lch(23.1, 41.73, 293.2)
oklch(34.3%, 0.1102, 269.64)
hwb(228.5, 13.7%, 55.7%)
Harmony colors
Accessibility
White text reads better on this background (11.89:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2a2a66 · ΔE 3.8
Deuteranopia
#292863 · ΔE 4.4
Tritanopia
#245c5a · ΔE 28.1
Achromatopsia
#373737 · ΔE 22
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #233271;
bg-[#233271]
Related colors
Frequently asked questions
#233271 (#233271) is rgb(35, 50, 113) in RGB.
No, #233271 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 #233271, or check how it holds up for accessibility.