Skip to content
Kolorvia
#1f358a

Color #1f358a

A moderately saturated dark blue.

Conversions

HEX
#1f358a
RGB
rgb(31, 53, 138)
HSL
hsl(227.7, 63.3%, 33.1%)
HSV / HSB
hsv(227.7, 77.5%, 54.1%)
CMYK
cmyk(77.5%, 61.6%, 0%, 45.9%)
LAB
lab(25.78, 23.59, -49.78)
LCH
lch(25.78, 55.09, 295.36)
OKLCH
oklch(36.9%, 0.1439, 267.53)
HWB
hwb(227.7, 12.2%, 45.9%)

Harmony colors

Complementary

#8a741f

Analogous

#1f6a8a
#1f358a
#3e1f8a

Triadic

#1f358a
#8a1f35
#358a1f

Split-complementary

#1f358a
#8a3e1f
#6a8a1f

Tetradic

#1f358a
#741f8a
#8a741f
#358a1f

Square

#1f358a
#8a1f6a
#8a741f
#1f8a3e

Shades

Color #1f358a mixed toward black.

#1a2c73
#15235c
#0f1a45
#0a122e
#050917

Tints

Color #1f358a mixed toward white.

#2947b8
#4563d5
#748ae0
#a2b1ea
#d1d8f5

Tones

Color #1f358a mixed toward gray.

#283a81
#313f78
#3a456f
#434a66
#4c4f5d

Accessibility

Aa White text on this color
10.86:1
Aa Black text on this color
1.93:1

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

Under color vision deficiencies

Protanopia

#2a2a7c · ΔE 4.5

Deuteranopia

#292778 · ΔE 5.4

Tritanopia

#206f6c · ΔE 33

Achromatopsia

#3d3d3d · ΔE 24.8

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

Code

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

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b

Frequently asked questions

#1f358a (#1f358a) is rgb(31, 53, 138) in RGB.

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