#18272F

Closest named color: Dark (#1B2431). oklch(26.3% 0.025 232.3), rgb(24, 39, 47).

Aa

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

About this color

#18272F is a dark close to neutral grey. In OKLCH its lightness is 26%, its chroma 0.025. It has too little chroma to lean warm or cool. The nearest named color is Dark (#1B2431), ΔE 0.013 away. White text reads best on it, at 15.32:1.

Hue familyNeutrals
Lightnessdark (26%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameDark (#1B2431)
Black text1.37:1
White text15.32:1

Values

HEX#18272F
RGBrgb(24, 39, 47)
HSLhsl(201, 32%, 14%)
OKLCHoklch(26.3% 0.025 232.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 #18272F 15.32:1 AAA Lc -104.9 Preferred for body text
Black text on #18272F 1.37:1 Fails Lc 0.0 Not readable
#18272F text on white 15.32:1 AAA Lc 102.2 Preferred for body text
#18272F text on black 1.37: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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBEF

    oklch(93.6% 0.009 232.4)

  3. Step 200

    200

    #CFDBE2

    oklch(88.4% 0.016 233)

  4. Step 300

    300

    #AEC4D1

    oklch(80.8% 0.03 233.7)

  5. Step 400

    400

    #83A6BA

    oklch(70.6% 0.048 233.4)

  6. Step 500

    500

    #6390A8

    oklch(63% 0.061 232.3)

  7. Step 600

    600

    #497A94

    oklch(55.5% 0.067 232.9)

  8. Step 700

    700

    #3A677E

    oklch(49.1% 0.062 232.2)

  9. Step 800

    800

    #305466

    oklch(42.7% 0.051 231.4)

  10. Step 900

    900

    #2B4553

    oklch(37.6% 0.04 232.8)

  11. Step 950

    950 (this color)

    #18272F

    oklch(26.3% 0.025 232.3)

Export this scale for Tailwind in the Tailwind colors tool

#18272F 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)#23262F0.017
Deuteranopia (no green cones)#20242F0.015
Tritanopia (no blue cones)#0F292A0.018
Achromatopsia (no color)#2525250.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #18272F

    #18272F

    oklch(26.3% 0.025 232.3)

  • #2F2119

    #2F2119

    oklch(26.2% 0.026 51)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #18272F

    #18272F

    oklch(26.3% 0.025 232.3)

  • #15282A

    #15282A

    oklch(26.1% 0.025 204.3)

  • #1E2531

    #1E2531

    oklch(26.3% 0.025 261.1)

Open the analogous palette in the generator

Split complementary

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

  • #18272F

    #18272F

    oklch(26.3% 0.025 232.3)

  • #30201F

    #30201F

    oklch(26.3% 0.025 22.9)

  • #2B2416

    #2B2416

    oklch(26.4% 0.026 84.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #18272F

    #18272F

    oklch(26.3% 0.025 232.3)

  • #2F2026

    #2F2026

    oklch(26.4% 0.025 353.2)

  • #252618

    #252618

    oklch(26.3% 0.025 111.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #18272F

    #18272F

    oklch(26.3% 0.025 232.3)

  • #2B212C

    #2B212C

    oklch(26.4% 0.025 323.3)

  • #2F2119

    #2F2119

    oklch(26.2% 0.026 51)

  • #1E281D

    #1E281D

    oklch(26.3% 0.025 142.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #18272F 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.