Skip to content
Kolorvia
#1f51ad

Color #1f51ad

A moderately saturated medium blue.

Conversions

HEX
#1f51ad
RGB
rgb(31, 81, 173)
HSL
hsl(218.9, 69.6%, 40%)
HSV / HSB
hsv(218.9, 82.1%, 67.8%)
CMYK
cmyk(82.1%, 53.2%, 0%, 32.2%)
LAB
lab(36.35, 18.36, -53.83)
LCH
lch(36.35, 56.87, 288.83)
OKLCH
oklch(45.8%, 0.157, 261.28)
HWB
hwb(218.9, 12.2%, 32.2%)

Harmony colors

Complementary

#ad7b1f

Analogous

#1f98ad
#1f51ad
#341fad

Triadic

#1f51ad
#ad1f51
#51ad1f

Split-complementary

#1f51ad
#ad341f
#98ad1f

Tetradic

#1f51ad
#7b1fad
#ad7b1f
#51ad1f

Square

#1f51ad
#ad1f98
#ad7b1f
#1fad34

Shades

Color #1f51ad mixed toward black.

#1a4390
#153673
#102856
#0a1b3a
#050d1d

Tints

Color #1f51ad mixed toward white.

#2765d8
#5284e0
#7da3e8
#a9c1ef
#d4e0f7

Tones

Color #1f51ad mixed toward gray.

#2b54a1
#375895
#435b89
#4e5f7e
#5a6272

Accessibility

Aa White text on this color
7.4:1
Aa Black text on this color
2.84:1

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

Under color vision deficiencies

Protanopia

#3b3b9d · ΔE 9.1

Deuteranopia

#383499 · ΔE 10.9

Tritanopia

#238e8b · ΔE 34.7

Achromatopsia

#555555 · ΔE 25

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

Code

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

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

#1f51ad (#1f51ad) is rgb(31, 81, 173) in RGB.

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