Color #121c37
A moderately saturated very dark blue.
Conversions
#121c37
rgb(18, 28, 55)
hsl(223.8, 50.7%, 14.3%)
hsv(223.8, 67.3%, 21.6%)
cmyk(67.3%, 49.1%, 0%, 78.4%)
lab(10.81, 5.64, -19.02)
lch(10.81, 19.84, 286.52)
oklch(23.3%, 0.0542, 266.93)
hwb(223.8, 7.1%, 78.4%)
Harmony colors
Accessibility
White text reads better on this background (16.84:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#171732 · ΔE 3.9
Deuteranopia
#161531 · ΔE 4.5
Tritanopia
#132d2c · ΔE 19.9
Achromatopsia
#1d1d1d · ΔE 14.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #121c37;
bg-[#121c37]
Related colors
Frequently asked questions
#121c37 (#121c37) is rgb(18, 28, 55) in RGB.
No, #121c37 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 #121c37, or check how it holds up for accessibility.