Skip to content
Kolorvia
#291f54

Color #291f54

A moderately saturated dark blue.

Conversions

HEX
#291f54
RGB
rgb(41, 31, 84)
HSL
hsl(251.3, 46.1%, 22.5%)
HSV / HSB
hsv(251.3, 63.1%, 32.9%)
CMYK
cmyk(51.2%, 63.1%, 0%, 67.1%)
LAB
lab(15.96, 20.33, -30.81)
LCH
lch(15.96, 36.91, 303.42)
OKLCH
oklch(28.4%, 0.0924, 287.71)
HWB
hwb(251.3, 12.2%, 67.1%)

Harmony colors

Complementary

#4a541f

Analogous

#1f2f54
#291f54
#431f54

Triadic

#291f54
#54291f
#1f5429

Split-complementary

#291f54
#54431f
#2f541f

Tetradic

#291f54
#541f4a
#4a541f
#1f5429

Square

#291f54
#541f2f
#4a541f
#1f5443

Shades

Color #291f54 mixed toward black.

#221a46
#1b1538
#140f2a
#0e0a1c
#07050e

Tints

Color #291f54 mixed toward white.

#403184
#5842b4
#806fca
#aa9fdb
#d5cfed

Tones

Color #291f54 mixed toward gray.

#2c234f
#2e284b
#312c47
#343142
#37353e

Accessibility

Aa White text on this color
14.81:1
Aa Black text on this color
1.42:1

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

Under color vision deficiencies

Protanopia

#25254b · ΔE 4.5

Deuteranopia

#262649 · ΔE 5.4

Tritanopia

#294341 · ΔE 25.7

Achromatopsia

#282828 · ΔE 21.3

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

Code

CSS
background-color: #291f54;
Tailwind (arbitrary value)
bg-[#291f54]

Related colors

Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd
Medium Purple #9370db
Navy #000080
Lavender #e6e6fa

Frequently asked questions

#291f54 (#291f54) is rgb(41, 31, 84) in RGB.

No, #291f54 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 #291f54, 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.