Color #0f3771
A vivid, highly saturated dark blue.
Conversions
#0f3771
rgb(15, 55, 113)
hsl(215.5, 76.6%, 25.1%)
hsv(215.5, 86.7%, 44.3%)
cmyk(86.7%, 51.3%, 0%, 55.7%)
lab(23.76, 10.09, -37.34)
lch(23.76, 38.68, 285.12)
oklch(34.6%, 0.1097, 258.49)
hwb(215.5, 5.9%, 55.7%)
Harmony colors
Accessibility
White text reads better on this background (11.63:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#262667 · ΔE 8.1
Deuteranopia
#242064 · ΔE 9.7
Tritanopia
#135d5b · ΔE 27
Achromatopsia
#393939 · ΔE 20.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0f3771;
bg-[#0f3771]
Related colors
Frequently asked questions
#0f3771 (#0f3771) is rgb(15, 55, 113) in RGB.
No, #0f3771 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 #0f3771, or check how it holds up for accessibility.