Skip to content
Kolorvia
#1f123a

Color #1f123a

A moderately saturated very dark blue.

Conversions

HEX
#1f123a
RGB
rgb(31, 18, 58)
HSL
hsl(259.5, 52.6%, 14.9%)
HSV / HSB
hsv(259.5, 69%, 22.7%)
CMYK
cmyk(46.6%, 69%, 0%, 77.3%)
LAB
lab(9.23, 17.89, -23.63)
LCH
lch(9.23, 29.64, 307.13)
OKLCH
oklch(22.5%, 0.0741, 294.73)
HWB
hwb(259.5, 7.1%, 77.3%)

Harmony colors

Complementary

#2d3a12

Analogous

#12193a
#1f123a
#33123a

Triadic

#1f123a
#3a1f12
#123a1f

Split-complementary

#1f123a
#3a3312
#193a12

Tetradic

#1f123a
#3a122d
#2d3a12
#123a1f

Square

#1f123a
#3a1219
#2d3a12
#123a33

Shades

Color #1f123a mixed toward black.

#1a0f30
#150c27
#10091d
#0a0613
#05030a

Tints

Color #1f123a mixed toward white.

#3d2371
#5a34a8
#7f59cc
#a991dd
#d4c8ee

Tones

Color #1f123a mixed toward gray.

#201537
#211933
#221c30
#241f2d
#252329

Accessibility

Aa White text on this color
17.41:1
Aa Black text on this color
1.21:1

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

Under color vision deficiencies

Protanopia

#1a1a33 · ΔE 6.7

Deuteranopia

#1b1c32 · ΔE 8.2

Tritanopia

#1e2d2c · ΔE 23.3

Achromatopsia

#1a1a1a · ΔE 19.5

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

Code

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

Related colors

Medium Purple #9370db
Rebecca Purple #663399
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd
Blue Violet #8a2be2

Frequently asked questions

#1f123a (#1f123a) is rgb(31, 18, 58) in RGB.

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