Color #25186c
A moderately saturated dark blue.
Conversions
#25186c
rgb(37, 24, 108)
hsl(249.3, 63.6%, 25.9%)
hsv(249.3, 77.8%, 42.4%)
cmyk(65.7%, 77.8%, 0%, 57.6%)
lab(16.15, 32.32, -46.46)
lch(16.15, 56.6, 304.82)
oklch(29.1%, 0.1364, 280.82)
hwb(249.3, 9.4%, 57.6%)
Harmony colors
Accessibility
White text reads better on this background (14.73:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#202060 · ΔE 4.1
Deuteranopia
#21225c · ΔE 5.3
Tritanopia
#245451 · ΔE 31.2
Achromatopsia
#282828 · ΔE 25.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #25186c;
bg-[#25186c]
Related colors
Frequently asked questions
#25186c (#25186c) is rgb(37, 24, 108) in RGB.
No, #25186c 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 #25186c, or check how it holds up for accessibility.