Color #12102e
A moderately saturated very dark blue.
Conversions
#12102e
rgb(18, 16, 46)
hsl(244, 48.4%, 12.2%)
hsv(244, 65.2%, 18%)
cmyk(60.9%, 65.2%, 0%, 82%)
lab(6.29, 10.78, -19.67)
lch(6.29, 22.43, 298.72)
oklch(19.6%, 0.0582, 282.6)
hwb(244, 6.3%, 82%)
Harmony colors
Accessibility
White text reads better on this background (18.43:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#111129 · ΔE 2.8
Deuteranopia
#111127 · ΔE 3.7
Tritanopia
#122423 · ΔE 21.8
Achromatopsia
#141414 · ΔE 16.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #12102e;
bg-[#12102e]
Related colors
Frequently asked questions
#12102e (#12102e) is rgb(18, 16, 46) in RGB.
No, #12102e 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 #12102e, or check how it holds up for accessibility.