Skip to content
Kolorvia
#1f2a30

Color #1f2a30

A muted very dark blue.

Conversions

HEX
#1f2a30
RGB
rgb(31, 42, 48)
HSL
hsl(201.2, 21.5%, 15.5%)
HSV / HSB
hsv(201.2, 35.4%, 18.8%)
CMYK
cmyk(35.4%, 12.5%, 0%, 81.2%)
LAB
lab(16.31, -2.94, -5.44)
LCH
lch(16.31, 6.18, 241.61)
OKLCH
oklch(27.7%, 0.0189, 232.1)
HWB
hwb(201.2, 12.2%, 81.2%)

Harmony colors

Complementary

#30251f

Analogous

#1f302e
#1f2a30
#1f2230

Triadic

#1f2a30
#301f2a
#2a301f

Split-complementary

#1f2a30
#301f22
#302e1f

Tetradic

#1f2a30
#251f30
#30251f
#2a301f

Square

#1f2a30
#2e1f30
#30251f
#22301f

Shades

Color #1f2a30 mixed toward black.

#1a2328
#151c20
#101518
#0a0e10
#050708

Tints

Color #1f2a30 mixed toward white.

#3b505c
#577687
#7c9aaa
#a8bcc7
#d3dde3

Tones

Color #1f2a30 mixed toward gray.

#202a2f
#22292d
#23292c
#25282a
#262829

Accessibility

Aa White text on this color
14.66:1
Aa Black text on this color
1.43:1

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

Under color vision deficiencies

Protanopia

#24242f · ΔE 8.2

Deuteranopia

#24232e · ΔE 8.8

Tritanopia

#202e2d · ΔE 5.5

Achromatopsia

#282828 · ΔE 6.1

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

Code

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

Related colors

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

Frequently asked questions

#1f2a30 (#1f2a30) is rgb(31, 42, 48) in RGB.

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