#161B27

Closest named color: Rich Black (#0D1B2A). oklch(22.3% 0.025 266.9), rgb(22, 27, 39).

Aa

White text reads best on this color (17.21:1).

About this color

#161B27 is a very dark close to neutral grey. In OKLCH its lightness is 22%, its chroma 0.025. It has too little chroma to lean warm or cool. The nearest named color is Rich Black (#0D1B2A), ΔE 0.014 away. White text reads best on it, at 17.21:1.

Hue familyNeutrals
Lightnessvery dark (22%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.22:1
White text17.21:1

Values

HEX#161B27
RGBrgb(22, 27, 39)
HSLhsl(222, 28%, 12%)
OKLCHoklch(22.3% 0.025 266.9)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #161B27 17.21:1 AAA Lc -106.4 Preferred for body text
Black text on #161B27 1.22:1 Fails Lc 0.0 Not readable
#161B27 text on white 17.21:1 AAA Lc 104.1 Preferred for body text
#161B27 text on black 1.22:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E7EAF0

    oklch(93.6% 0.009 264.5)

  3. Step 200

    200

    #D4D9E4

    oklch(88.5% 0.016 266.3)

  4. Step 300

    300

    #B8C1D4

    oklch(81% 0.029 265.4)

  5. Step 400

    400

    #93A0BF

    oklch(70.6% 0.048 267.3)

  6. Step 500

    500

    #7989AF

    oklch(63.1% 0.06 266.9)

  7. Step 600

    600

    #62729A

    oklch(55.5% 0.065 267.4)

  8. Step 700

    700

    #516084

    oklch(49.1% 0.061 266.7)

  9. Step 800

    800

    #424E6B

    oklch(42.6% 0.051 266.9)

  10. Step 900

    900

    #384157

    oklch(37.7% 0.04 267.2)

  11. Step 950

    950 (this color)

    #161B27

    oklch(22.3% 0.025 266.9)

Export this scale for Tailwind in the Tailwind colors tool

#161B27 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#171C280.004
Deuteranopia (no green cones)#151A270.004
Tritanopia (no blue cones)#111D1F0.022
Achromatopsia (no color)#1B1B1B0.025

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #161B27

    #161B27

    oklch(22.3% 0.025 266.9)

  • #201B0E

    #201B0E

    oklch(22.4% 0.024 89.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #161B27

    #161B27

    oklch(22.3% 0.025 266.9)

  • #101D25

    #101D25

    oklch(22.3% 0.024 236.4)

  • #1C1926

    #1C1926

    oklch(22.3% 0.025 294.9)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #161B27

    #161B27

    oklch(22.3% 0.025 266.9)

  • #241810

    #241810

    oklch(22.2% 0.024 54.8)

  • #1A1D0F

    #1A1D0F

    oklch(22.3% 0.026 118.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #161B27

    #161B27

    oklch(22.3% 0.025 266.9)

  • #261715

    #261715

    oklch(22.4% 0.025 27.6)

  • #141E14

    #141E14

    oklch(22.2% 0.024 144.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #161B27

    #161B27

    oklch(22.3% 0.025 266.9)

  • #25161B

    #25161B

    oklch(22.2% 0.026 357.8)

  • #201B0E

    #201B0E

    oklch(22.4% 0.024 89.3)

  • #0E1F1B

    #0E1F1B

    oklch(22.3% 0.024 177.2)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #161B27, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #161B27 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.