Skip to content
Kolorvia
#12172a

Color #12172a

A moderately saturated very dark blue.

Conversions

HEX
#12172a
RGB
rgb(18, 23, 42)
HSL
hsl(227.5, 40%, 11.8%)
HSV / HSB
hsv(227.5, 57.1%, 16.5%)
CMYK
cmyk(57.1%, 45.2%, 0%, 83.5%)
LAB
lab(8.2, 4.26, -13.67)
LCH
lch(8.2, 14.32, 287.31)
OKLCH
oklch(21%, 0.0385, 271.64)
HWB
hwb(227.5, 7.1%, 83.5%)

Harmony colors

Complementary

#2a2512

Analogous

#12232a
#12172a
#19122a

Triadic

#12172a
#2a1217
#172a12

Split-complementary

#12172a
#2a1912
#232a12

Tetradic

#12172a
#25122a
#2a2512
#172a12

Square

#12172a
#2a1223
#2a2512
#122a19

Shades

Color #12172a mixed toward black.

#0f1323
#0c0f1c
#090c15
#06080e
#030407

Tints

Color #12172a mixed toward white.

#29345f
#3f5193
#6274bc
#96a3d2
#cbd1e9

Tones

Color #12172a mixed toward gray.

#141828
#161926
#181b24
#1a1c22
#1c1d20

Accessibility

Aa White text on this color
17.77:1
Aa Black text on this color
1.18:1

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

Under color vision deficiencies

Protanopia

#141426 · ΔE 2.3

Deuteranopia

#141425 · ΔE 2.3

Tritanopia

#122322 · ΔE 16.2

Achromatopsia

#181818 · ΔE 11.3

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

Code

CSS
background-color: #12172a;
Tailwind (arbitrary value)
bg-[#12172a]

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b

Frequently asked questions

#12172a (#12172a) is rgb(18, 23, 42) in RGB.

No, #12172a 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 #12172a, 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.