Color #262c40
A muted dark blue.
Conversions
#262c40
rgb(38, 44, 64)
hsl(226.2, 25.5%, 20%)
hsv(226.2, 40.6%, 25.1%)
cmyk(40.6%, 31.2%, 0%, 74.9%)
lab(18.29, 3.33, -13.48)
lch(18.29, 13.89, 283.88)
oklch(29.7%, 0.0375, 271.07)
hwb(226.2, 14.9%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (13.85:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#29293c · ΔE 2.9
Deuteranopia
#28283b · ΔE 3
Tritanopia
#263838 · ΔE 14.9
Achromatopsia
#2d2d2d · ΔE 10.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #262c40;
bg-[#262c40]
Related colors
Frequently asked questions
#262c40 (#262c40) is rgb(38, 44, 64) in RGB.
No, #262c40 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 #262c40, or check how it holds up for accessibility.