Skip to content
Kolorvia
#1f21ad

Color #1f21ad

A moderately saturated medium blue.

Conversions

HEX
#1f21ad
RGB
rgb(31, 33, 173)
HSL
hsl(239.2, 69.6%, 40%)
HSV / HSB
hsv(239.2, 82.1%, 67.8%)
CMYK
cmyk(82.1%, 80.9%, 0%, 32.2%)
LAB
lab(24.94, 48.44, -72.56)
LCH
lch(24.94, 87.24, 303.73)
OKLCH
oklch(37.4%, 0.2101, 269.7)
HWB
hwb(239.2, 12.2%, 32.2%)

Harmony colors

Complementary

#adab1f

Analogous

#1f68ad
#1f21ad
#641fad

Triadic

#1f21ad
#ad1f21
#21ad1f

Split-complementary

#1f21ad
#ad641f
#68ad1f

Tetradic

#1f21ad
#ab1fad
#adab1f
#21ad1f

Square

#1f21ad
#ad1f68
#adab1f
#1fad64

Shades

Color #1f21ad mixed toward black.

#1a1b90
#151673
#101056
#0a0b3a
#05051d

Tints

Color #1f21ad mixed toward white.

#2729d8
#5254e0
#7d7fe8
#a9a9ef
#d4d4f7

Tones

Color #1f21ad mixed toward gray.

#2b2ca1
#373895
#434389
#4e4f7e
#5a5a72

Accessibility

Aa White text on this color
11.17:1
Aa Black text on this color
1.88:1

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

Under color vision deficiencies

Protanopia

#202099 · ΔE 2.7

Deuteranopia

#202094 · ΔE 3.4

Tritanopia

#1f8783 · ΔE 42.2

Achromatopsia

#3b3b3b · ΔE 29.5

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

Code

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

Related colors

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

Frequently asked questions

#1f21ad (#1f21ad) is rgb(31, 33, 173) in RGB.

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