Color #121e31
A moderately saturated very dark blue.
Conversions
#121e31
rgb(18, 30, 49)
hsl(216.8, 46.3%, 13.1%)
hsv(216.8, 63.3%, 19.2%)
cmyk(63.3%, 38.8%, 0%, 80.8%)
lab(11.13, 1.66, -14.2)
lch(11.13, 14.3, 276.67)
oklch(23.4%, 0.0407, 259.24)
hwb(216.8, 7.1%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (16.72:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#18182d · ΔE 6.2
Deuteranopia
#17162c · ΔE 7
Tritanopia
#132a29 · ΔE 15.3
Achromatopsia
#1e1e1e · ΔE 10.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #121e31;
bg-[#121e31]
Related colors
Frequently asked questions
#121e31 (#121e31) is rgb(18, 30, 49) in RGB.
No, #121e31 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 #121e31, or check how it holds up for accessibility.