Color #121d36
A moderately saturated very dark blue.
Conversions
#121d36
rgb(18, 29, 54)
hsl(221.7, 50%, 14.1%)
hsv(221.7, 66.7%, 21.2%)
cmyk(66.7%, 46.3%, 0%, 78.8%)
lab(11.09, 4.46, -17.86)
lch(11.09, 18.41, 284.02)
oklch(23.5%, 0.0509, 264.82)
hwb(221.7, 7.1%, 78.8%)
Harmony colors
Accessibility
White text reads better on this background (16.74:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#171731 · ΔE 4.7
Deuteranopia
#171630 · ΔE 5.1
Tritanopia
#132d2c · ΔE 18.9
Achromatopsia
#1e1e1e · ΔE 13.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #121d36;
bg-[#121d36]
Related colors
Frequently asked questions
#121d36 (#121d36) is rgb(18, 29, 54) in RGB.
No, #121d36 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 #121d36, or check how it holds up for accessibility.