Color #142a42
A moderately saturated very dark blue.
Conversions
#142a42
rgb(20, 42, 66)
hsl(211.3, 53.5%, 16.9%)
hsv(211.3, 69.7%, 25.9%)
cmyk(69.7%, 36.4%, 0%, 74.1%)
lab(16.49, 0.23, -17.76)
lch(16.49, 17.76, 270.74)
oklch(28%, 0.0528, 252.01)
hwb(211.3, 7.8%, 74.1%)
Harmony colors
Accessibility
White text reads better on this background (14.59:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1f203d · ΔE 9.1
Deuteranopia
#1e1c3c · ΔE 10.5
Tritanopia
#163938 · ΔE 16.8
Achromatopsia
#292929 · ΔE 12.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #142a42;
bg-[#142a42]
Related colors
Frequently asked questions
#142a42 (#142a42) is rgb(20, 42, 66) in RGB.
No, #142a42 is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #142a42, or check how it holds up for accessibility.