Skip to content
Kolorvia
#1f245f

Color #1f245f

A moderately saturated dark blue.

Conversions

HEX
#1f245f
RGB
rgb(31, 36, 95)
HSL
hsl(235.3, 50.8%, 24.7%)
HSV / HSB
hsv(235.3, 67.4%, 37.3%)
CMYK
cmyk(67.4%, 62.1%, 0%, 62.7%)
LAB
lab(17.36, 18.66, -35.94)
LCH
lch(17.36, 40.5, 297.44)
OKLCH
oklch(29.5%, 0.1037, 274.42)
HWB
hwb(235.3, 12.2%, 62.7%)

Harmony colors

Complementary

#5f5a1f

Analogous

#1f445f
#1f245f
#3a1f5f

Triadic

#1f245f
#5f1f24
#245f1f

Split-complementary

#1f245f
#5f3a1f
#445f1f

Tetradic

#1f245f
#5a1f5f
#5f5a1f
#245f1f

Square

#1f245f
#5f1f44
#5f5a1f
#1f5f3a

Shades

Color #1f245f mixed toward black.

#1a1e4f
#15183f
#0f122f
#0a0c20
#050610

Tints

Color #1f245f mixed toward white.

#2f368f
#3e49c0
#6e76d0
#9ea4e0
#cfd1ef

Tones

Color #1f245f mixed toward gray.

#24285a
#2a2d54
#2f314f
#34364a
#3a3a44

Accessibility

Aa White text on this color
14.23:1
Aa Black text on this color
1.48:1

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

Under color vision deficiencies

Protanopia

#212155 · ΔE 2.2

Deuteranopia

#212152 · ΔE 2.9

Tritanopia

#1f4c4a · ΔE 27.4

Achromatopsia

#2b2b2b · ΔE 21.9

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

Code

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

Related colors

Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b
Ghost White #f8f8ff
Medium Blue #0000cd

Frequently asked questions

#1f245f (#1f245f) is rgb(31, 36, 95) in RGB.

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