#161C27

Closest named color: Rich Black (#0D1B2A). oklch(22.6% 0.023 262.3), rgb(22, 28, 39).

Aa

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

About this color

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

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

Values

HEX#161C27
RGBrgb(22, 28, 39)
HSLhsl(219, 28%, 12%)
OKLCHoklch(22.6% 0.023 262.3)

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 #161C27 17.07:1 AAA Lc -106.3 Preferred for body text
Black text on #161C27 1.22:1 Fails Lc 0.0 Not readable
#161C27 text on white 17.07:1 AAA Lc 104.0 Preferred for body text
#161C27 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

    #E7EAEF

    oklch(93.6% 0.007 260.7)

  3. Step 200

    200

    #D4D9E4

    oklch(88.5% 0.016 266.3)

  4. Step 300

    300

    #B7C1D3

    oklch(80.9% 0.028 262.3)

  5. Step 400

    400

    #92A1BD

    oklch(70.7% 0.044 262.9)

  6. Step 500

    500

    #778AAC

    oklch(63.1% 0.056 262)

  7. Step 600

    600

    #607498

    oklch(55.7% 0.061 262)

  8. Step 700

    700

    #4F6182

    oklch(49.1% 0.058 262.3)

  9. Step 800

    800

    #414F69

    oklch(42.7% 0.047 262.5)

  10. Step 900

    900

    #374256

    oklch(37.8% 0.037 262.2)

  11. Step 950

    950 (this color)

    #161C27

    oklch(22.6% 0.023 262.3)

Export this scale for Tailwind in the Tailwind colors tool

#161C27 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)#181D280.005
Deuteranopia (no green cones)#171B270.004
Tritanopia (no blue cones)#111E200.020
Achromatopsia (no color)#1C1C1C0.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #161C27

    #161C27

    oklch(22.6% 0.023 262.3)

  • #211B0F

    #211B0F

    oklch(22.5% 0.023 84.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #161C27

    #161C27

    oklch(22.6% 0.023 262.3)

  • #101E25

    #101E25

    oklch(22.6% 0.024 230.9)

  • #1C1A26

    #1C1A26

    oklch(22.6% 0.023 292.1)

Open the analogous palette in the generator

Split complementary

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

  • #161C27

    #161C27

    oklch(22.6% 0.023 262.3)

  • #251912

    #251912

    oklch(22.6% 0.023 51.4)

  • #1C1D10

    #1C1D10

    oklch(22.5% 0.024 111.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #161C27

    #161C27

    oklch(22.6% 0.023 262.3)

  • #261817

    #261817

    oklch(22.7% 0.023 23.6)

  • #161F15

    #161F15

    oklch(22.7% 0.023 142.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #161C27

    #161C27

    oklch(22.6% 0.023 262.3)

  • #25171D

    #25171D

    oklch(22.5% 0.025 351.9)

  • #211B0F

    #211B0F

    oklch(22.5% 0.023 84.1)

  • #10201B

    #10201B

    oklch(22.7% 0.024 172.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #161C27 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.