Skip to content
Kolorvia
#1f265e

Color #1f265e

A moderately saturated dark blue.

Conversions

HEX
#1f265e
RGB
rgb(31, 38, 94)
HSL
hsl(233.3, 50.4%, 24.5%)
HSV / HSB
hsv(233.3, 67%, 36.9%)
CMYK
cmyk(67%, 59.6%, 0%, 63.1%)
LAB
lab(17.85, 16.83, -34.48)
LCH
lch(17.85, 38.37, 296.02)
OKLCH
oklch(29.8%, 0.0992, 273.41)
HWB
hwb(233.3, 12.2%, 63.1%)

Harmony colors

Complementary

#5e571f

Analogous

#1f465e
#1f265e
#371f5e

Triadic

#1f265e
#5e1f26
#265e1f

Split-complementary

#1f265e
#5e371f
#465e1f

Tetradic

#1f265e
#571f5e
#5e571f
#265e1f

Square

#1f265e
#5e1f46
#5e571f
#1f5e37

Shades

Color #1f265e mixed toward black.

#1a204e
#15193f
#0f132f
#0a0d1f
#050610

Tints

Color #1f265e mixed toward white.

#2f3a8e
#3f4dbe
#6e79cf
#9ea6df
#cfd2ef

Tones

Color #1f265e mixed toward gray.

#242a59
#292e53
#2f324e
#343649
#393a44

Accessibility

Aa White text on this color
14.03:1
Aa Black text on this color
1.5:1

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

Under color vision deficiencies

Protanopia

#222254 · ΔE 2.5

Deuteranopia

#222152 · ΔE 3

Tritanopia

#1f4c4a · ΔE 27

Achromatopsia

#2c2c2c · ΔE 21.3

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

Code

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

Related colors

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

Frequently asked questions

#1f265e (#1f265e) is rgb(31, 38, 94) in RGB.

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