#1B202F

Closest named color: Dark (#1B2431). oklch(24.6% 0.03 269.9), rgb(27, 32, 47).

Aa

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

About this color

#1B202F is a very dark close to neutral grey. In OKLCH its lightness is 25%, its chroma 0.030. It has too little chroma to lean warm or cool. The nearest named color is Dark (#1B2431), ΔE 0.014 away. White text reads best on it, at 16.22:1.

Hue familyNeutrals
Lightnessvery dark (25%)
Chromaclose to neutral grey (0.030)
Temperatureneutral
Nearest nameDark (#1B2431)
Black text1.29:1
White text16.22:1

Values

HEX#1B202F
RGBrgb(27, 32, 47)
HSLhsl(225, 27%, 15%)
OKLCHoklch(24.6% 0.03 269.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 #1B202F 16.22:1 AAA Lc -105.7 Preferred for body text
Black text on #1B202F 1.29:1 Fails Lc 0.0 Not readable
#1B202F text on white 16.22:1 AAA Lc 103.2 Preferred for body text
#1B202F text on black 1.29: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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E7EAF1

    oklch(93.7% 0.01 267.4)

  3. Step 200

    200

    #D4D9E6

    oklch(88.5% 0.019 269.1)

  4. Step 300

    300

    #B7C0D8

    oklch(80.8% 0.035 269.2)

  5. Step 400

    400

    #93A0C5

    oklch(70.8% 0.056 269.8)

  6. Step 500

    500

    #7888B6

    oklch(63.2% 0.072 269.5)

  7. Step 600

    600

    #6171A2

    oklch(55.6% 0.079 269.9)

  8. Step 700

    700

    #505F8A

    oklch(49.2% 0.072 269)

  9. Step 800

    800

    #424D70

    oklch(42.6% 0.06 270.3)

  10. Step 900

    900

    #38405B

    oklch(37.6% 0.048 271.3)

  11. Step 950

    950 (this color)

    #1B202F

    oklch(24.6% 0.03 269.9)

Export this scale for Tailwind in the Tailwind colors tool

#1B202F 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)#1B21300.004
Deuteranopia (no green cones)#19202F0.003
Tritanopia (no blue cones)#1523250.027
Achromatopsia (no color)#2020200.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B202F

    #1B202F

    oklch(24.6% 0.03 269.9)

  • #262010

    #262010

    oklch(24.6% 0.029 89.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B202F

    #1B202F

    oklch(24.6% 0.03 269.9)

  • #13232D

    #13232D

    oklch(24.7% 0.029 237)

  • #231D2D

    #231D2D

    oklch(24.5% 0.031 301.3)

Open the analogous palette in the generator

Split complementary

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

  • #1B202F

    #1B202F

    oklch(24.6% 0.03 269.9)

  • #2B1D12

    #2B1D12

    oklch(24.5% 0.029 59)

  • #1F2312

    #1F2312

    oklch(24.7% 0.031 119.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B202F

    #1B202F

    oklch(24.6% 0.03 269.9)

  • #2D1B18

    #2D1B18

    oklch(24.5% 0.029 29.8)

  • #162519

    #162519

    oklch(24.7% 0.031 149.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B202F

    #1B202F

    oklch(24.6% 0.03 269.9)

  • #2C1B20

    #2C1B20

    oklch(24.6% 0.028 0.2)

  • #262010

    #262010

    oklch(24.6% 0.029 89.6)

  • #0F2521

    #0F2521

    oklch(24.5% 0.029 180.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1B202F 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.