Skip to content
Kolorvia
#1f262a

Color #1f262a

A muted very dark blue.

Conversions

HEX
#1f262a
RGB
rgb(31, 38, 42)
HSL
hsl(201.8, 15.1%, 14.3%)
HSV / HSB
hsv(201.8, 26.2%, 16.5%)
CMYK
cmyk(26.2%, 9.5%, 0%, 83.5%)
LAB
lab(14.65, -1.97, -3.68)
LCH
lch(14.65, 4.17, 241.84)
OKLCH
oklch(26.3%, 0.0125, 233.13)
HWB
hwb(201.8, 12.2%, 83.5%)

Harmony colors

Complementary

#2a231f

Analogous

#1f2a28
#1f262a
#1f202a

Triadic

#1f262a
#2a1f26
#262a1f

Split-complementary

#1f262a
#2a1f20
#2a281f

Tetradic

#1f262a
#231f2a
#2a231f
#262a1f

Square

#1f262a
#281f2a
#2a231f
#202a1f

Shades

Color #1f262a mixed toward black.

#1a2023
#15191c
#0f1315
#0a0d0e
#050607

Tints

Color #1f262a mixed toward white.

#3e4c54
#5d727e
#8196a2
#abb9c1
#d5dce0

Tones

Color #1f262a mixed toward gray.

#202629
#212528
#222527
#232526
#242525

Accessibility

Aa White text on this color
15.34:1
Aa Black text on this color
1.37:1

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

Under color vision deficiencies

Protanopia

#222229 · ΔE 5.5

Deuteranopia

#222129 · ΔE 6.6

Tritanopia

#1f2828 · ΔE 3.4

Achromatopsia

#252525 · ΔE 4.3

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

Code

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

Related colors

Light Sky Blue #87cefa
Charcoal #36454f
Sky Blue #87ceeb
Steel Blue #4682b4
Alice Blue #f0f8ff
Deep Sky Blue #00bfff

Frequently asked questions

#1f262a (#1f262a) is rgb(31, 38, 42) in RGB.

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