Color #0d3040
A moderately saturated very dark cyan.
Conversions
#0d3040
rgb(13, 48, 64)
hsl(198.8, 66.2%, 15.1%)
hsv(198.8, 79.7%, 25.1%)
cmyk(79.7%, 25%, 0%, 74.9%)
lab(18.23, -6.18, -13.7)
lch(18.23, 15.03, 245.72)
oklch(29.2%, 0.0489, 231.72)
hwb(198.8, 5.1%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (13.87:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#21213d · ΔE 16.2
Deuteranopia
#1f1c3c · ΔE 17.7
Tritanopia
#103a39 · ΔE 11.4
Achromatopsia
#2c2c2c · ΔE 12
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0d3040;
bg-[#0d3040]
Related colors
Frequently asked questions
#0d3040 (#0d3040) is rgb(13, 48, 64) in RGB.
No, #0d3040 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 #0d3040, or check how it holds up for accessibility.