Skip to content
Kolorvia
#1f4df2

Color #1f4df2

A vivid, highly saturated medium blue.

Conversions

HEX
#1f4df2
RGB
rgb(31, 77, 242)
HSL
hsl(226.9, 89%, 53.5%)
HSV / HSB
hsv(226.9, 87.2%, 94.9%)
CMYK
cmyk(87.2%, 68.2%, 0%, 5.1%)
LAB
lab(41.23, 46.91, -85.7)
LCH
lch(41.23, 97.7, 298.7)
OKLCH
oklch(51.2%, 0.2494, 265.24)
HWB
hwb(226.9, 12.2%, 5.1%)

Harmony colors

Complementary

#f2c41f

Analogous

#1fb7f2
#1f4df2
#5a1ff2

Triadic

#1f4df2
#f21f4d
#4df21f

Split-complementary

#1f4df2
#f25a1f
#b7f21f

Tetradic

#1f4df2
#c41ff2
#f2c41f
#4df21f

Square

#1f4df2
#f21fb7
#f2c41f
#1ff25a

Shades

Color #1f4df2 mixed toward black.

#0d39d7
#0a2dac
#082281
#051756
#030b2b

Tints

Color #1f4df2 mixed toward white.

#446bf4
#6a88f6
#8fa6f8
#b4c4fb
#dae1fd

Tones

Color #1f4df2 mixed toward gray.

#3057e0
#4261cf
#546bbd
#6575ac
#777f9a

Accessibility

Aa White text on this color
6.17:1
Aa Black text on this color
3.4:1

White text reads better on this background (6.17:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#3839d9 · ΔE 6.3

Deuteranopia

#3632d2 · ΔE 8.2

Tritanopia

#23c1bc · ΔE 47.5

Achromatopsia

#616161 · ΔE 30.6

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

Code

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

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Light Steel Blue #b0c4de
Navy #000080
Lavender #e6e6fa
Blue #0000ff

Frequently asked questions

#1f4df2 (#1f4df2) is rgb(31, 77, 242) in RGB.

No, #1f4df2 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #1f4df2, 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.