Color #0f398b
A vivid, highly saturated dark blue.
Conversions
#0f398b
rgb(15, 57, 139)
hsl(219.7, 80.5%, 30.2%)
hsv(219.7, 89.2%, 54.5%)
cmyk(89.2%, 59%, 0%, 45.5%)
lab(26.42, 19.7, -49.38)
lch(26.42, 53.16, 291.75)
oklch(37.3%, 0.1442, 261.91)
hwb(219.7, 5.9%, 45.5%)
Harmony colors
Accessibility
White text reads better on this background (10.61:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#27277d · ΔE 7.2
Deuteranopia
#25227a · ΔE 8.4
Tritanopia
#13716e · ΔE 32.8
Achromatopsia
#3e3e3e · ΔE 24.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0f398b;
bg-[#0f398b]
Related colors
Frequently asked questions
#0f398b (#0f398b) is rgb(15, 57, 139) in RGB.
No, #0f398b 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 #0f398b, or check how it holds up for accessibility.