Color #121727
A muted very dark blue.
Conversions
#121727
rgb(18, 23, 39)
hsl(225.7, 36.8%, 11.2%)
hsv(225.7, 53.8%, 15.3%)
cmyk(53.8%, 41%, 0%, 84.7%)
lab(8.02, 3.1, -11.72)
lch(8.02, 12.12, 284.82)
oklch(20.8%, 0.0328, 270.17)
hwb(225.7, 7.1%, 84.7%)
Harmony colors
Accessibility
White text reads better on this background (17.83:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#141424 · ΔE 2.5
Deuteranopia
#141423 · ΔE 2.4
Tritanopia
#122120 · ΔE 14.2
Achromatopsia
#181818 · ΔE 9.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #121727;
bg-[#121727]
Related colors
Frequently asked questions
#121727 (#121727) is rgb(18, 23, 39) in RGB.
No, #121727 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 #121727, or check how it holds up for accessibility.