Color #0a2a6a
A vivid, highly saturated dark blue.
Conversions
#0a2a6a
rgb(10, 42, 106)
hsl(220, 82.8%, 22.7%)
hsv(220, 90.6%, 41.6%)
cmyk(90.6%, 60.4%, 0%, 58.4%)
lab(19.06, 16.08, -40.45)
lch(19.06, 43.53, 291.68)
oklch(30.8%, 0.118, 262.11)
hwb(220, 3.9%, 58.4%)
Harmony colors
Accessibility
White text reads better on this background (13.53:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1c1c5f · ΔE 5.9
Deuteranopia
#1a185c · ΔE 7
Tritanopia
#0d5553 · ΔE 28.8
Achromatopsia
#2e2e2e · ΔE 22.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0a2a6a;
bg-[#0a2a6a]
Related colors
Frequently asked questions
#0a2a6a (#0a2a6a) is rgb(10, 42, 106) in RGB.
No, #0a2a6a 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 #0a2a6a, or check how it holds up for accessibility.