Color #0c3040
A moderately saturated very dark cyan.
Conversions
#0c3040
rgb(12, 48, 64)
hsl(198.5, 68.4%, 14.9%)
hsv(198.5, 81.3%, 25.1%)
cmyk(81.2%, 25%, 0%, 74.9%)
lab(18.2, -6.35, -13.75)
lch(18.2, 15.15, 245.21)
oklch(29.2%, 0.0494, 231.32)
hwb(198.5, 4.7%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (13.88:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#21213d · ΔE 16.4
Deuteranopia
#1f1c3c · ΔE 17.8
Tritanopia
#0f3a39 · ΔE 11.4
Achromatopsia
#2c2c2c · ΔE 12.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0c3040;
bg-[#0c3040]
Related colors
Frequently asked questions
#0c3040 (#0c3040) is rgb(12, 48, 64) in RGB.
No, #0c3040 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 #0c3040, or check how it holds up for accessibility.