#18252F

Closest named color: Dark (#1B2431). oklch(25.7% 0.026 242.1), rgb(24, 37, 47).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (26%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameDark (#1B2431)
Black text1.34:1
White text15.61:1

Values

HEX#18252F
RGBrgb(24, 37, 47)
HSLhsl(206, 32%, 14%)
OKLCHoklch(25.7% 0.026 242.1)

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 #18252F 15.61:1 AAA Lc -105.2 Preferred for body text
Black text on #18252F 1.34:1 Fails Lc 0.0 Not readable
#18252F text on white 15.61:1 AAA Lc 102.5 Preferred for body text
#18252F text on black 1.34: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

    #E5EBEF

    oklch(93.7% 0.008 236.6)

  3. Step 200

    200

    #D0DBE4

    oklch(88.6% 0.017 242.5)

  4. Step 300

    300

    #B0C4D3

    oklch(81% 0.03 240.3)

  5. Step 400

    400

    #86A5BD

    oklch(70.7% 0.049 241.7)

  6. Step 500

    500

    #678FAD

    oklch(63.2% 0.063 241.4)

  7. Step 600

    600

    #4E7898

    oklch(55.5% 0.068 242.3)

  8. Step 700

    700

    #3F6582

    oklch(49.1% 0.064 242.5)

  9. Step 800

    800

    #34536A

    oklch(42.8% 0.053 241.7)

  10. Step 900

    900

    #2E4456

    oklch(37.6% 0.041 243.9)

  11. Step 950

    950 (this color)

    #18252F

    oklch(25.7% 0.026 242.1)

Export this scale for Tailwind in the Tailwind colors tool

#18252F 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)#21252F0.014
Deuteranopia (no green cones)#1E222F0.013
Tritanopia (no blue cones)#0F27280.021
Achromatopsia (no color)#2424240.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #18252F

    #18252F

    oklch(25.7% 0.026 242.1)

  • #2D2116

    #2D2116

    oklch(25.9% 0.027 63.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #18252F

    #18252F

    oklch(25.7% 0.026 242.1)

  • #14272B

    #14272B

    oklch(25.8% 0.026 212.6)

  • #1F2330

    #1F2330

    oklch(25.8% 0.025 271.3)

Open the analogous palette in the generator

Split complementary

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

  • #18252F

    #18252F

    oklch(25.7% 0.026 242.1)

  • #2F1F1B

    #2F1F1B

    oklch(25.8% 0.026 34.5)

  • #282315

    #282315

    oklch(25.7% 0.025 90.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #18252F

    #18252F

    oklch(25.7% 0.026 242.1)

  • #2E1E22

    #2E1E22

    oklch(25.7% 0.026 2.6)

  • #212517

    #212517

    oklch(25.6% 0.026 121.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #18252F

    #18252F

    oklch(25.7% 0.026 242.1)

  • #2B1F29

    #2B1F29

    oklch(25.8% 0.026 332.1)

  • #2D2116

    #2D2116

    oklch(25.9% 0.027 63.7)

  • #1A271D

    #1A271D

    oklch(25.7% 0.026 151.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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