Color #140752
A vivid, highly saturated very dark blue.
Conversions
#140752
rgb(20, 7, 82)
hsl(250.4, 84.3%, 17.5%)
hsv(250.4, 91.5%, 32.2%)
cmyk(75.6%, 91.5%, 0%, 67.8%)
lab(8.22, 31.01, -42.22)
lch(8.22, 52.38, 306.3)
oklch(22.3%, 0.123, 277.66)
hwb(250.4, 2.7%, 67.8%)
Harmony colors
Accessibility
White text reads better on this background (17.77:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#0f0f48 · ΔE 3.7
Deuteranopia
#101145 · ΔE 4.9
Tritanopia
#143e3c · ΔE 29.1
Achromatopsia
#181818 · ΔE 24.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #140752;
bg-[#140752]
Related colors
Frequently asked questions
#140752 (#140752) is rgb(20, 7, 82) in RGB.
No, #140752 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 #140752, or check how it holds up for accessibility.