Color #140987
A vivid, highly saturated dark blue.
Conversions
#140987
rgb(20, 9, 135)
hsl(245.2, 87.5%, 28.2%)
hsv(245.2, 93.3%, 52.9%)
cmyk(85.2%, 93.3%, 0%, 47.1%)
lab(15.97, 46.48, -64.12)
lch(15.97, 79.19, 305.94)
oklch(29.7%, 0.1854, 269.69)
hwb(245.2, 3.5%, 47.1%)
Harmony colors
Accessibility
White text reads better on this background (14.8:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#101077 · ΔE 2.7
Deuteranopia
#111173 · ΔE 3.4
Tritanopia
#146864 · ΔE 38.5
Achromatopsia
#282828 · ΔE 28.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #140987;
bg-[#140987]
Related colors
Frequently asked questions
#140987 (#140987) is rgb(20, 9, 135) in RGB.
No, #140987 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 #140987, or check how it holds up for accessibility.