Color #261c42
A moderately saturated very dark blue.
Conversions
#261c42
rgb(38, 28, 66)
hsl(255.8, 40.4%, 18.4%)
hsv(255.8, 57.6%, 25.9%)
cmyk(42.4%, 57.6%, 0%, 74.1%)
lab(13.45, 15.52, -22.5)
lch(13.45, 27.33, 304.6)
oklch(26%, 0.0693, 293.12)
hwb(255.8, 11%, 74.1%)
Harmony colors
Accessibility
White text reads better on this background (15.82:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#22223b · ΔE 5.9
Deuteranopia
#23233a · ΔE 6.7
Tritanopia
#263534 · ΔE 22.8
Achromatopsia
#222222 · ΔE 18.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #261c42;
bg-[#261c42]
Related colors
Frequently asked questions
#261c42 (#261c42) is rgb(38, 28, 66) in RGB.
No, #261c42 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 #261c42, or check how it holds up for accessibility.