Color #0a0f1a
A moderately saturated very dark blue.
Conversions
#0a0f1a
rgb(10, 15, 26)
hsl(221.3, 44.4%, 7.1%)
hsv(221.3, 61.5%, 10.2%)
cmyk(61.5%, 42.3%, 0%, 89.8%)
lab(4.34, 1.04, -7.42)
lch(4.34, 7.49, 277.98)
oklch(16.9%, 0.0245, 265.08)
hwb(221.3, 3.9%, 89.8%)
Harmony colors
Accessibility
White text reads better on this background (19.16:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#0c0c18 · ΔE 2.2
Deuteranopia
#0c0c17 · ΔE 2.2
Tritanopia
#0a1615 · ΔE 9.1
Achromatopsia
#0f0f0f · ΔE 6.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0a0f1a;
bg-[#0a0f1a]
Related colors
Frequently asked questions
#0a0f1a (#0a0f1a) is rgb(10, 15, 26) in RGB.
No, #0a0f1a 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 #0a0f1a, or check how it holds up for accessibility.