Skip to content
Kolorvia
#12175f

Color #12175f

A moderately saturated dark blue.

Conversions

HEX
#12175f
RGB
rgb(18, 23, 95)
HSL
hsl(236.1, 68.1%, 22.2%)
HSV / HSB
hsv(236.1, 81.1%, 37.3%)
CMYK
cmyk(81.1%, 75.8%, 0%, 62.7%)
LAB
lab(13.03, 25.92, -43.06)
LCH
lch(13.03, 50.26, 301.05)
OKLCH
oklch(26.1%, 0.1247, 271.06)
HWB
hwb(236.1, 7.1%, 62.7%)

Harmony colors

Complementary

#5f5a12

Analogous

#123e5f
#12175f
#34125f

Triadic

#12175f
#5f1217
#175f12

Split-complementary

#12175f
#5f3412
#3e5f12

Tetradic

#12175f
#5a125f
#5f5a12
#175f12

Square

#12175f
#5f123e
#5f5a12
#125f34

Shades

Color #12175f mixed toward black.

#0f134f
#0c0f3f
#090c30
#060820
#030410

Tints

Color #12175f mixed toward white.

#1d2597
#2732ce
#5861df
#9096ea
#c7caf4

Tones

Color #12175f mixed toward gray.

#181d59
#1f2252
#25284c
#2c2d45
#32333f

Accessibility

Aa White text on this color
15.99:1
Aa Black text on this color
1.31:1

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

Under color vision deficiencies

Protanopia

#141454 · ΔE 2.1

Deuteranopia

#141451 · ΔE 2.6

Tritanopia

#124a48 · ΔE 30

Achromatopsia

#222222 · ΔE 24

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

Code

CSS
background-color: #12175f;
Tailwind (arbitrary value)
bg-[#12175f]

Related colors

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

Frequently asked questions

#12175f (#12175f) is rgb(18, 23, 95) in RGB.

No, #12175f 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 #12175f, 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.