Skip to content
Kolorvia
#2f266e

Color #2f266e

A moderately saturated dark blue.

Conversions

HEX
#2f266e
RGB
rgb(47, 38, 110)
HSL
hsl(247.5, 48.6%, 29%)
HSV / HSB
hsv(247.5, 65.5%, 43.1%)
CMYK
cmyk(57.3%, 65.5%, 0%, 56.9%)
LAB
lab(20.5, 25.91, -40.6)
LCH
lch(20.5, 48.16, 302.55)
OKLCH
oklch(32.6%, 0.1197, 283.19)
HWB
hwb(247.5, 14.9%, 56.9%)

Harmony colors

Complementary

#656e26

Analogous

#26416e
#2f266e
#53266e

Triadic

#2f266e
#6e2f26
#266e2f

Split-complementary

#2f266e
#6e5326
#416e26

Tetradic

#2f266e
#6e2665
#656e26
#266e2f

Square

#2f266e
#6e2641
#656e26
#266e53

Shades

Color #2f266e mixed toward black.

#27205c
#1f1949
#171337
#100d25
#080612

Tints

Color #2f266e mixed toward white.

#42369b
#5a4cc1
#8378d0
#ada5e0
#d6d2ef

Tones

Color #2f266e mixed toward gray.

#332c68
#383262
#3c385c
#413e56
#454450

Accessibility

Aa White text on this color
12.94:1
Aa Black text on this color
1.62:1

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

Under color vision deficiencies

Protanopia

#2b2b62 · ΔE 3.8

Deuteranopia

#2c2d5f · ΔE 4.9

Tritanopia

#2f5855 · ΔE 29.2

Achromatopsia

#313131 · ΔE 23.7

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

Code

CSS
background-color: #2f266e;
Tailwind (arbitrary value)
bg-[#2f266e]

Related colors

Slate Blue #6a5acd
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Navy #000080
Lavender #e6e6fa
Blue #0000ff

Frequently asked questions

#2f266e (#2f266e) is rgb(47, 38, 110) in RGB.

No, #2f266e 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 #2f266e, 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.