Skip to content
Kolorvia
#0a42a1

Color #0a42a1

A vivid, highly saturated dark blue.

Conversions

HEX
#0a42a1
RGB
rgb(10, 66, 161)
HSL
hsl(217.7, 88.3%, 33.5%)
HSV / HSB
hsv(217.7, 93.8%, 63.1%)
CMYK
cmyk(93.8%, 59%, 0%, 36.9%)
LAB
lab(30.72, 22.26, -55.83)
LCH
lch(30.72, 60.1, 291.74)
OKLCH
oklch(41.1%, 0.1636, 260.93)
HWB
hwb(217.7, 3.9%, 36.9%)

Harmony colors

Complementary

#a1690a

Analogous

#0a8da1
#0a42a1
#1d0aa1

Triadic

#0a42a1
#a10a42
#42a10a

Split-complementary

#0a42a1
#a11d0a
#8da10a

Tetradic

#0a42a1
#690aa1
#a1690a
#42a10a

Square

#0a42a1
#a10a8d
#a1690a
#0aa11d

Shades

Color #0a42a1 mixed toward black.

#083786
#072c6b
#052150
#031636
#020b1b

Tints

Color #0a42a1 mixed toward white.

#0d58d6
#2a74f2
#5f97f5
#95baf8
#cadcfc

Tones

Color #0a42a1 mixed toward gray.

#174594
#234988
#304c7b
#3c4f6f
#495262

Accessibility

Aa White text on this color
9.1:1
Aa Black text on this color
2.31:1

White text reads better on this background (9.1:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#2c2d91 · ΔE 8.1

Deuteranopia

#29258d · ΔE 10

Tritanopia

#11837f · ΔE 35.9

Achromatopsia

#484848 · ΔE 25.6

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #0a42a1;
Tailwind (arbitrary value)
bg-[#0a42a1]

Related colors

Cornflower Blue #6495ed
Light Steel Blue #b0c4de
Royal Blue #4169e1
Light Slate Gray #778899
Slate Gray #708090
Dodger Blue #1e90ff

Frequently asked questions

#0a42a1 (#0a42a1) is rgb(10, 66, 161) in RGB.

No, #0a42a1 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #0a42a1, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.