Skip to content
Kolorvia
#12152f

Color #12152f

A moderately saturated very dark blue.

Conversions

HEX
#12152f
RGB
rgb(18, 21, 47)
HSL
hsl(233.8, 44.6%, 12.7%)
HSV / HSB
hsv(233.8, 61.7%, 18.4%)
CMYK
cmyk(61.7%, 55.3%, 0%, 81.6%)
LAB
lab(7.86, 7.82, -17.91)
LCH
lch(7.86, 19.54, 293.59)
OKLCH
oklch(20.9%, 0.0512, 276.06)
HWB
hwb(233.8, 7.1%, 81.6%)

Harmony colors

Complementary

#2f2c12

Analogous

#12232f
#12152f
#1d122f

Triadic

#12152f
#2f1215
#152f12

Split-complementary

#12152f
#2f1d12
#232f12

Tetradic

#12152f
#2c122f
#2f2c12
#152f12

Square

#12152f
#2f1223
#2f2c12
#122f1d

Shades

Color #12152f mixed toward black.

#0f1127
#0c0e1f
#090a17
#060710
#030308

Tints

Color #12152f mixed toward white.

#262d64
#3b459a
#5e68c1
#949bd6
#c9cdea

Tones

Color #12152f mixed toward gray.

#14172c
#17192a
#191b28
#1c1d25
#1e1e23

Accessibility

Aa White text on this color
17.89:1
Aa Black text on this color
1.17:1

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

Under color vision deficiencies

Protanopia

#13132a · ΔE 1.6

Deuteranopia

#131329 · ΔE 1.9

Tritanopia

#122625 · ΔE 20.3

Achromatopsia

#171717 · ΔE 14.4

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

Code

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

Related colors

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

Frequently asked questions

#12152f (#12152f) is rgb(18, 21, 47) in RGB.

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