Color #070231
A vivid, highly saturated very dark blue.
Conversions
#070231
rgb(7, 2, 49)
hsl(246.4, 92.2%, 10%)
hsv(246.4, 95.9%, 19.2%)
cmyk(85.7%, 95.9%, 0%, 80.8%)
lab(2.8, 15.1, -27.51)
lch(2.8, 31.38, 298.76)
oklch(15.6%, 0.0894, 275.91)
hwb(246.4, 0.8%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (19.77:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#05052a · ΔE 3.1
Deuteranopia
#050628 · ΔE 4.1
Tritanopia
#072423 · ΔE 24.7
Achromatopsia
#0a0a0a · ΔE 19.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #070231;
bg-[#070231]
Related colors
Frequently asked questions
#070231 (#070231) is rgb(7, 2, 49) in RGB.
No, #070231 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 #070231, or check how it holds up for accessibility.