Color #0d1940
A moderately saturated very dark blue.
Conversions
#0d1940
rgb(13, 25, 64)
hsl(225.9, 66.2%, 15.1%)
hsv(225.9, 79.7%, 25.1%)
cmyk(79.7%, 60.9%, 0%, 74.9%)
lab(10.19, 10.8, -26.45)
lch(10.19, 28.57, 292.21)
oklch(23%, 0.0762, 267.22)
hwb(225.9, 5.1%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (17.07:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#131339 · ΔE 3.3
Deuteranopia
#121137 · ΔE 3.8
Tritanopia
#0e3332 · ΔE 24.2
Achromatopsia
#1c1c1c · ΔE 18.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0d1940;
bg-[#0d1940]
Related colors
Frequently asked questions
#0d1940 (#0d1940) is rgb(13, 25, 64) in RGB.
No, #0d1940 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 #0d1940, or check how it holds up for accessibility.