Skip to content
Kolorvia
#1f2a4a

Color #1f2a4a

A moderately saturated dark blue.

Conversions

HEX
#1f2a4a
RGB
rgb(31, 42, 74)
HSL
hsl(224.7, 41%, 20.6%)
HSV / HSB
hsv(224.7, 58.1%, 29%)
CMYK
cmyk(58.1%, 43.2%, 0%, 71%)
LAB
lab(17.65, 6.16, -21.37)
LCH
lch(17.65, 22.24, 286.08)
OKLCH
oklch(29.2%, 0.0605, 268.2)
HWB
hwb(224.7, 12.2%, 71%)

Harmony colors

Complementary

#4a3f1f

Analogous

#1f404a
#1f2a4a
#2a1f4a

Triadic

#1f2a4a
#4a1f2a
#2a4a1f

Split-complementary

#1f2a4a
#4a2a1f
#404a1f

Tetradic

#1f2a4a
#3f1f4a
#4a3f1f
#2a4a1f

Square

#1f2a4a
#4a1f40
#4a3f1f
#1f4a2a

Shades

Color #1f2a4a mixed toward black.

#1a233e
#151c31
#0f1525
#0a0e19
#05070c

Tints

Color #1f2a4a mixed toward white.

#33457a
#4760a9
#7085c3
#a0aed7
#cfd6eb

Tones

Color #1f2a4a mixed toward gray.

#232c46
#262d43
#2a2f3f
#2d313c
#313338

Accessibility

Aa White text on this color
14.11:1
Aa Black text on this color
1.49:1

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

Under color vision deficiencies

Protanopia

#242444 · ΔE 4.1

Deuteranopia

#242342 · ΔE 4.5

Tritanopia

#203e3d · ΔE 21

Achromatopsia

#2b2b2b · ΔE 15.2

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

Code

CSS
background-color: #1f2a4a;
Tailwind (arbitrary value)
bg-[#1f2a4a]

Related colors

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

Frequently asked questions

#1f2a4a (#1f2a4a) is rgb(31, 42, 74) in RGB.

No, #1f2a4a 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 #1f2a4a, 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.