#111827 Color Details, Palettes & Contrast

All the conversions, harmonies, and accessibility checks you need to design with confidence.

RGB:rgb(17, 24, 39)
HSL:hsl(221, 39%, 11%)
HEX
#111827
RGB
17, 24, 39
HSL
221°, 39%, 11%
HSV
221°, 56%, 15%
CMYK
56%, 38%, 0%, 85%

Color Conversion

Generate values across multiple color models in one place.

#111827

Tints & shades

Explore how #111827 behaves when you mix it with white or black. These swatches are perfect for hover states, shadows, and backgrounds.

Hover to copy any hex value and reuse it across your interface.

Shades

0–100%
0%#111827
10%#0F1623
20%#0E131F
30%#0C111B
40%#0A0E17
50%#090C13
60%#070A10
70%#05070C
80%#030508
90%#020204
100%#000000

Tints

0–100%
0%#111827
10%#1F2B47
20%#2D3F66
30%#3B5286
40%#4866A5
50%#617DBA
60%#8197C8
70%#A0B1D5
80%#C0CBE3
90%#DFE5F1
100%#FFFFFF

Common use cases

  • UI component states (hover, active, disabled)
  • Creating depth with shadows and highlights
  • Building consistent color systems

Design system

Design system tip

These variations form the foundation of a cohesive palette. Export them to keep marketing, product, and engineering aligned.

Export palette

Color harmonies

Build balanced palettes instantly with harmonies generated from #111827.

Click any swatch to open its own detail page and keep exploring.

How to use

Pick one dominant color, then let supporting hues act as accents for typography, surfaces, and call-to-action buttons.

Why it matters

Balanced harmonies communicate intent—calm, energetic, premium—without overwhelming your layout.

Complementary

Opposite hues that create impact and bold contrast.

Suggested for

High-impact CTAs, logos, and hero sections

Analogous

Neighboring hues for natural, fluid gradients.

Suggested for

Nature-inspired, calming dashboards

Triadic

Three evenly spaced hues for playful balance.

Suggested for

Playful branding and editorial layouts

Tetradic

Two complementary pairs that deliver rich variety.

Suggested for

Illustrations and marketing experiments

Monochromatic

Lighter and darker siblings inside the same hue family.

Suggested for

Minimalist interfaces and premium UI states

Accessibility contrast

Check how readable #111827 is with common text colors so every visitor enjoys a clear experience.

Use AA as the baseline for body copy and AAA for premium accessibility.

Sample text on black text
Text color#000000
Background#111827
Contrast ratio1.18:1
WCAG levelFail
Sample text on white text
Text color#FFFFFF
Background#111827
Contrast ratio17.74:1
WCAG levelAAA
Recommended text preview
Text color#FFFFFF
Background#111827
Contrast ratio17.74:1
WCAG levelAAA

Technical Formats

Advanced color formats used in design systems.

HEX
#111827
RGB
rgb(17, 24, 39)
HSL
hsl(220.91, 39.29%, 10.98%)
HSV
hsv(220.91 56.41% 15.29%)
LAB
lab(8.15 0.64 -11.47)
LCH
lch(8.15 11.49 273.21)
OKLAB
oklab(0.21 -0.0030 -0.0316)
OKLCH
oklch(0.21 0.0318 264.66)
Display P3
color(display-p3 0.07215788212201757 0.09331788785797207 0.14835062231781834)
CSS Color Level 4
color(srgb 0.06666666666666667 0.09411764705882353 0.15294117647058825)
XYZ
color(xyz-d65 0.0092 0.0092 0.0205)
CMYK
cmyk(56.41% 38.46% 0.00% 84.71%)

Practical Formats

Variables, config files, and code snippets.

CSS Variable
--color-brand-primary: #111827;
CSS RGB Variable
--color-brand-primary-rgb: 17, 24, 39;
SCSS Variable
$color-brand-primary: #111827;
Tailwind Config
"brand-primary": "#111827"
JavaScript
const brandprimary = "#111827";
Design Token JSON
{
  "color": {
    "brand-primary": {
      "value": "#111827",
      "type": "color"
    }
  }
}
SVG Fill
<rect fill="#111827" />
Android XML
<color name="brand_primary">#111827</color>
iOS Swift
UIColor(red: 0.067, green: 0.094, blue: 0.153, alpha: 1.0)
HSL CSS Variable
--color-brand-primary-hsl: 220.91 39.29% 10.98%;

Color Analysis

Deep dive into color properties and accessibility.

Closest Color Name
black
Temperature
Cool
Hue Family
Blue
Relative Luminance
0.0092
Saturation Level
Soft
Lightness Level
Very dark

Blindness Simulator

How this color appears under color vision deficiencies.

Protanopia

Red-blind simulation

#171727

Deuteranopia

Green-blind simulation

#161627

Tritanopia

Blue-blind simulation

#0F1A1A

Achromatopsia

No-color simulation

#181818

Creative Aspects

Palettes, gradients, and moods.

Complementary

#111827#272011

Analogous

#112327#111827#151127

Triadic

#111827#271118#182711

Tetradic

#111827#271123#272011#112715

Monochromatic

#62687B#383E4F#111827#070E1F#000000

Tints

#FFFFFF#BDBEC3#7E818B#454957#111827

Shades

#111827#0D1423#070E1F#00071B#000000

Gradient Flow

#112127#0E1D28#111827#111527#131127

Design guidance

Balance

Treat #111827 as a highlight. Pair it with neutrals and one supporting hue to avoid visual overload.

Contrast

Test combinations with real content. Higher contrast improves scanning, readability, and conversions.

Harmony

Use lighter tints for surfaces, the base color for primaries, and darker shades for hover or pressed states.

Need another color?

Jump back to the color picker to upload images, generate palettes, and explore new color relationships.

Pick Another Color