#18242F

Closest named color: Dark (#1B2431). oklch(25.4% 0.027 246.7), rgb(24, 36, 47).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (25%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameDark (#1B2431)
Black text1.33:1
White text15.76:1

Values

HEX#18242F
RGBrgb(24, 36, 47)
HSLhsl(209, 32%, 14%)
OKLCHoklch(25.4% 0.027 246.7)

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 #18242F 15.76:1 AAA Lc -105.3 Preferred for body text
Black text on #18242F 1.33:1 Fails Lc 0.0 Not readable
#18242F text on white 15.76:1 AAA Lc 102.7 Preferred for body text
#18242F text on black 1.33: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

    #E5EBF0

    oklch(93.7% 0.009 242.8)

  3. Step 200

    200

    #D0DBE4

    oklch(88.6% 0.017 242.5)

  4. Step 300

    300

    #B1C3D4

    oklch(80.9% 0.031 246.7)

  5. Step 400

    400

    #87A4BF

    oklch(70.6% 0.051 246.7)

  6. Step 500

    500

    #698EAF

    oklch(63.2% 0.065 246)

  7. Step 600

    600

    #50779B

    oklch(55.5% 0.071 247.3)

  8. Step 700

    700

    #416484

    oklch(49% 0.066 247.1)

  9. Step 800

    800

    #36526B

    oklch(42.7% 0.054 246.4)

  10. Step 900

    900

    #2F4457

    oklch(37.7% 0.042 246.5)

  11. Step 950

    950 (this color)

    #18242F

    oklch(25.4% 0.027 246.7)

Export this scale for Tailwind in the Tailwind colors tool

#18242F 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)#2024300.013
Deuteranopia (no green cones)#1D222F0.010
Tritanopia (no blue cones)#1027280.023
Achromatopsia (no color)#2323230.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #18242F

    #18242F

    oklch(25.4% 0.027 246.7)

  • #2C2015

    #2C2015

    oklch(25.5% 0.027 63.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #18242F

    #18242F

    oklch(25.4% 0.027 246.7)

  • #13262B

    #13262B

    oklch(25.5% 0.027 216.5)

  • #1F2230

    #1F2230

    oklch(25.5% 0.027 275)

Open the analogous palette in the generator

Split complementary

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

  • #18242F

    #18242F

    oklch(25.4% 0.027 246.7)

  • #2E1E1A

    #2E1E1A

    oklch(25.4% 0.026 34.5)

  • #262314

    #262314

    oklch(25.5% 0.026 98.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #18242F

    #18242F

    oklch(25.4% 0.027 246.7)

  • #2E1D20

    #2E1D20

    oklch(25.3% 0.027 7.5)

  • #1F2517

    #1F2517

    oklch(25.4% 0.027 127)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #18242F

    #18242F

    oklch(25.4% 0.027 246.7)

  • #2B1E27

    #2B1E27

    oklch(25.5% 0.026 338)

  • #2C2015

    #2C2015

    oklch(25.5% 0.027 63.7)

  • #18271D

    #18271D

    oklch(25.6% 0.028 154.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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