Color #140c2f
A moderately saturated very dark blue.
Conversions
#140c2f
rgb(20, 12, 47)
hsl(253.7, 59.3%, 11.6%)
hsv(253.7, 74.5%, 18.4%)
cmyk(57.4%, 74.5%, 0%, 81.6%)
lab(5.57, 14.07, -21.55)
lch(5.57, 25.74, 303.14)
oklch(19%, 0.0667, 288.98)
hwb(253.7, 4.7%, 81.6%)
Harmony colors
Accessibility
White text reads better on this background (18.69:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#111129 · ΔE 4.9
Deuteranopia
#111228 · ΔE 5.9
Tritanopia
#142423 · ΔE 22.7
Achromatopsia
#121212 · ΔE 17.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #140c2f;
bg-[#140c2f]
Related colors
Frequently asked questions
#140c2f (#140c2f) is rgb(20, 12, 47) in RGB.
No, #140c2f 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 #140c2f, or check how it holds up for accessibility.