Skip to content
Kolorvia
#121828

Color #121828

A muted very dark blue.

Conversions

HEX
#121828
RGB
rgb(18, 24, 40)
HSL
hsl(223.6, 37.9%, 11.4%)
HSV / HSB
hsv(223.6, 55%, 15.7%)
CMYK
cmyk(55%, 40%, 0%, 84.3%)
LAB
lab(8.44, 2.71, -11.81)
LCH
lch(8.44, 12.12, 282.92)
OKLCH
oklch(21.2%, 0.0331, 267.92)
HWB
hwb(223.6, 7.1%, 84.3%)

Harmony colors

Complementary

#282212

Analogous

#122328
#121828
#171228

Triadic

#121828
#281218
#182812

Split-complementary

#121828
#281712
#232812

Tetradic

#121828
#221228
#282212
#182812

Square

#121828
#281223
#282212
#122817

Shades

Color #121828 mixed toward black.

#0f1421
#0c101b
#090c14
#06080d
#030407

Tints

Color #121828 mixed toward white.

#29375c
#415690
#637bb9
#97a7d0
#cbd3e8

Tones

Color #121828 mixed toward gray.

#141926
#161a24
#181b23
#191b21
#1b1c1f

Accessibility

Aa White text on this color
17.69:1
Aa Black text on this color
1.19:1

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

Under color vision deficiencies

Protanopia

#151525 · ΔE 3.1

Deuteranopia

#141424 · ΔE 3.1

Tritanopia

#122221 · ΔE 14.1

Achromatopsia

#181818 · ΔE 9.7

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

Code

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

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Light Steel Blue #b0c4de
Light Slate Gray #778899
Slate Gray #708090
Dodger Blue #1e90ff

Frequently asked questions

#121828 (#121828) is rgb(18, 24, 40) in RGB.

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