#12282C

Closest named color: Jet (#212529). oklch(26.1% 0.029 210.6), rgb(18, 40, 44).

Aa

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

About this color

#12282C is a dark close to neutral grey. In OKLCH its lightness is 26%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.022 away. White text reads best on it, at 15.37:1.

Hue familyNeutrals
Lightnessdark (26%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.36:1
White text15.37:1

Values

HEX#12282C
RGBrgb(18, 40, 44)
HSLhsl(189, 42%, 12%)
OKLCHoklch(26.1% 0.029 210.6)

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 #12282C 15.37:1 AAA Lc -104.9 Preferred for body text
Black text on #12282C 1.36:1 Fails Lc 0.0 Not readable
#12282C text on white 15.37:1 AAA Lc 102.2 Preferred for body text
#12282C text on black 1.36: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

    #E3ECED

    oklch(93.7% 0.01 204.9)

  3. Step 200

    200

    #CCDDE0

    oklch(88.6% 0.019 209.4)

  4. Step 300

    300

    #A8C7CD

    oklch(80.9% 0.034 210.7)

  5. Step 400

    400

    #78AAB4

    oklch(70.6% 0.055 211.4)

  6. Step 500

    500

    #5395A1

    oklch(63.1% 0.07 210.6)

  7. Step 600

    600

    #347F8C

    oklch(55.5% 0.076 210.7)

  8. Step 700

    700

    #256B77

    oklch(49% 0.071 211)

  9. Step 800

    800

    #215861

    oklch(42.8% 0.059 209.9)

  10. Step 900

    900

    #21484F

    oklch(37.6% 0.046 210.7)

  11. Step 950

    950 (this color)

    #12282C

    oklch(26.1% 0.029 210.6)

Export this scale for Tailwind in the Tailwind colors tool

#12282C 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)#25272C0.028
Deuteranopia (no green cones)#20232C0.025
Tritanopia (no blue cones)#052A290.016
Achromatopsia (no color)#2525250.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #12282C

    #12282C

    oklch(26.1% 0.029 210.6)

  • #311F1C

    #311F1C

    oklch(26.1% 0.029 29.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12282C

    #12282C

    oklch(26.1% 0.029 210.6)

  • #132925

    #132925

    oklch(26.1% 0.029 180.9)

  • #172631

    #172631

    oklch(26% 0.029 241.1)

Open the analogous palette in the generator

Split complementary

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

  • #12282C

    #12282C

    oklch(26.1% 0.029 210.6)

  • #301E23

    #301E23

    oklch(26% 0.029 1.2)

  • #2F2116

    #2F2116

    oklch(26.1% 0.029 59.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12282C

    #12282C

    oklch(26.1% 0.029 210.6)

  • #2C1F2B

    #2C1F2B

    oklch(26% 0.029 328.9)

  • #292413

    #292413

    oklch(26.1% 0.03 93.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12282C

    #12282C

    oklch(26.1% 0.029 210.6)

  • #262130

    #262130

    oklch(26% 0.028 299.7)

  • #311F1C

    #311F1C

    oklch(26.1% 0.029 29.7)

  • #222616

    #222616

    oklch(25.9% 0.029 119.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12282C 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.