Color #0d4ea2
A vivid, highly saturated dark blue.
Conversions
#0d4ea2
rgb(13, 78, 162)
hsl(213.8, 85.1%, 34.3%)
hsv(213.8, 92%, 63.5%)
cmyk(92%, 51.9%, 0%, 36.5%)
lab(34.28, 14.59, -50.65)
lch(34.28, 52.71, 286.07)
oklch(43.8%, 0.1495, 257.76)
hwb(213.8, 5.1%, 36.5%)
Harmony colors
Accessibility
White text reads better on this background (7.99:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#353593 · ΔE 10.7
Deuteranopia
#312c8f · ΔE 12.9
Tritanopia
#158683 · ΔE 33.1
Achromatopsia
#515151 · ΔE 24.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0d4ea2;
bg-[#0d4ea2]
Related colors
Frequently asked questions
#0d4ea2 (#0d4ea2) is rgb(13, 78, 162) in RGB.
No, #0d4ea2 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 #0d4ea2, or check how it holds up for accessibility.