#12252A

Closest named color: Dark (#1B2431). oklch(25.1% 0.027 216.5), rgb(18, 37, 42).

Aa

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

About this color

#12252A 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.020 away. White text reads best on it, at 15.86:1.

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

Values

HEX#12252A
RGBrgb(18, 37, 42)
HSLhsl(193, 40%, 12%)
OKLCHoklch(25.1% 0.027 216.5)

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 #12252A 15.86:1 AAA Lc -105.4 Preferred for body text
Black text on #12252A 1.32:1 Fails Lc 0.0 Not readable
#12252A text on white 15.86:1 AAA Lc 102.8 Preferred for body text
#12252A text on black 1.32: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

    #F2F6F7

    oklch(97% 0.004 214.3)

  2. Step 100

    100

    #E3EBEE

    oklch(93.5% 0.009 222.1)

  3. Step 200

    200

    #CDDCE1

    oklch(88.5% 0.018 219.7)

  4. Step 300

    300

    #ABC6CE

    oklch(80.9% 0.031 217.5)

  5. Step 400

    400

    #7DA9B5

    oklch(70.7% 0.05 216.4)

  6. Step 500

    500

    #5A93A3

    oklch(63% 0.064 217.7)

  7. Step 600

    600

    #3E7E8E

    oklch(55.7% 0.07 216.3)

  8. Step 700

    700

    #2F6A79

    oklch(49.2% 0.065 216.9)

  9. Step 800

    800

    #285662

    oklch(42.6% 0.054 217.1)

  10. Step 900

    900

    #264750

    oklch(37.7% 0.042 217.4)

  11. Step 950

    950 (this color)

    #12252A

    oklch(25.1% 0.027 216.5)

Export this scale for Tailwind in the Tailwind colors tool

#12252A 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)#22242A0.024
Deuteranopia (no green cones)#1E212A0.022
Tritanopia (no blue cones)#0727270.015
Achromatopsia (no color)#2222220.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #12252A

    #12252A

    oklch(25.1% 0.027 216.5)

  • #2D1D19

    #2D1D19

    oklch(25% 0.027 34.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12252A

    #12252A

    oklch(25.1% 0.027 216.5)

  • #122624

    #122624

    oklch(25.1% 0.026 187.4)

  • #17232E

    #17232E

    oklch(25% 0.027 246.8)

Open the analogous palette in the generator

Split complementary

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

  • #12252A

    #12252A

    oklch(25.1% 0.027 216.5)

  • #2D1C20

    #2D1C20

    oklch(25% 0.028 3.8)

  • #2B1F14

    #2B1F14

    oklch(25.1% 0.027 63.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12252A

    #12252A

    oklch(25.1% 0.027 216.5)

  • #2A1D27

    #2A1D27

    oklch(25.1% 0.027 334.8)

  • #252213

    #252213

    oklch(25.1% 0.026 98.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12252A

    #12252A

    oklch(25.1% 0.027 216.5)

  • #251E2C

    #251E2C

    oklch(24.9% 0.028 307.2)

  • #2D1D19

    #2D1D19

    oklch(25% 0.027 34.6)

  • #1E2416

    #1E2416

    oklch(25% 0.027 127.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12252A 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.