Color #050315
A vivid, highly saturated very dark blue.
Conversions
#050315
rgb(5, 3, 21)
hsl(246.7, 75%, 4.7%)
hsv(246.7, 85.7%, 8.2%)
cmyk(76.2%, 85.7%, 0%, 91.8%)
lab(1.37, 3.54, -8.03)
lch(1.37, 8.78, 293.79)
oklch(11.9%, 0.0437, 285.4)
hwb(246.7, 1.2%, 91.8%)
Harmony colors
Accessibility
White text reads better on this background (20.38:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#040412 · ΔE 2.1
Deuteranopia
#040411 · ΔE 2.5
Tritanopia
#050f0e · ΔE 10.5
Achromatopsia
#050505 · ΔE 7.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #050315;
bg-[#050315]
Related colors
Frequently asked questions
#050315 (#050315) is rgb(5, 3, 21) in RGB.
No, #050315 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 #050315, or check how it holds up for accessibility.