Color #18265f
A moderately saturated dark blue.
Conversions
#18265f
rgb(24, 38, 95)
hsl(228.2, 59.7%, 23.3%)
hsv(228.2, 74.7%, 37.3%)
cmyk(74.7%, 60%, 0%, 62.7%)
lab(17.49, 15.99, -35.75)
lch(17.49, 39.16, 294.1)
oklch(29.5%, 0.103, 268.78)
hwb(228.2, 9.4%, 62.7%)
Harmony colors
Accessibility
White text reads better on this background (14.18:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1f1f55 · ΔE 3.5
Deuteranopia
#1e1d53 · ΔE 4
Tritanopia
#194d4a · ΔE 27.8
Achromatopsia
#2b2b2b · ΔE 21.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #18265f;
bg-[#18265f]
Related colors
Frequently asked questions
#18265f (#18265f) is rgb(24, 38, 95) in RGB.
No, #18265f 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 #18265f, or check how it holds up for accessibility.