Color #142158
A moderately saturated dark blue.
Conversions
#142158
rgb(20, 33, 88)
hsl(228.5, 63%, 21.2%)
hsv(228.5, 77.3%, 34.5%)
cmyk(77.3%, 62.5%, 0%, 65.5%)
lab(15.17, 16.16, -34.86)
lch(15.17, 38.42, 294.87)
oklch(27.5%, 0.1005, 268.75)
hwb(228.5, 7.8%, 65.5%)
Harmony colors
Accessibility
White text reads better on this background (15.13:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1a1a4f · ΔE 3.2
Deuteranopia
#1a194c · ΔE 3.7
Tritanopia
#154644 · ΔE 27.1
Achromatopsia
#262626 · ΔE 21.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #142158;
bg-[#142158]
Related colors
Frequently asked questions
#142158 (#142158) is rgb(20, 33, 88) in RGB.
No, #142158 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 #142158, or check how it holds up for accessibility.