Skip to content
Kolorvia
#1f2238

Color #1f2238

A muted very dark blue.

Conversions

HEX
#1f2238
RGB
rgb(31, 34, 56)
HSL
hsl(232.8, 28.7%, 17.1%)
HSV / HSB
hsv(232.8, 44.6%, 22%)
CMYK
cmyk(44.6%, 39.3%, 0%, 78%)
LAB
lab(13.95, 5.43, -14.71)
LCH
lch(13.95, 15.68, 290.26)
OKLCH
oklch(26%, 0.0415, 277.19)
HWB
hwb(232.8, 12.2%, 78%)

Harmony colors

Complementary

#38351f

Analogous

#1f2f38
#1f2238
#291f38

Triadic

#1f2238
#381f22
#22381f

Split-complementary

#1f2238
#38291f
#2f381f

Tetradic

#1f2238
#351f38
#38351f
#22381f

Square

#1f2238
#381f2f
#38351f
#1f3829

Shades

Color #1f2238 mixed toward black.

#1a1c2f
#151725
#10111c
#0a0b13
#050609

Tints

Color #1f2238 mixed toward white.

#383e65
#515993
#777eb4
#a4a9cd
#d2d4e6

Tones

Color #1f2238 mixed toward gray.

#212436
#232534
#252732
#272830
#2a2a2e

Accessibility

Aa White text on this color
15.62:1
Aa Black text on this color
1.34:1

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

Under color vision deficiencies

Protanopia

#202034 · ΔE 1.5

Deuteranopia

#202032 · ΔE 2

Tritanopia

#1f302f · ΔE 17.3

Achromatopsia

#232323 · ΔE 12.2

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

Code

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

Related colors

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

Frequently asked questions

#1f2238 (#1f2238) is rgb(31, 34, 56) in RGB.

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