#2A212F

Closest named color: Jet (#212529). oklch(26.4% 0.029 313.3), rgb(42, 33, 47).

Aa

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

About this color

#2A212F 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.026 away. White text reads best on it, at 15.47:1.

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

Values

HEX#2A212F
RGBrgb(42, 33, 47)
HSLhsl(279, 18%, 16%)
OKLCHoklch(26.4% 0.029 313.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 #2A212F 15.47:1 AAA Lc -105.1 Preferred for body text
Black text on #2A212F 1.35:1 Fails Lc 0.0 Not readable
#2A212F text on white 15.47:1 AAA Lc 102.4 Preferred for body text
#2A212F text on black 1.35: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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #ECE8EF

    oklch(93.6% 0.01 311.2)

  3. Step 200

    200

    #DED6E2

    oklch(88.6% 0.018 314.7)

  4. Step 300

    300

    #C8BBD0

    oklch(80.9% 0.032 312.8)

  5. Step 400

    400

    #AD97B9

    oklch(70.7% 0.055 313.7)

  6. Step 500

    500

    #987DA7

    oklch(63% 0.069 313.3)

  7. Step 600

    600

    #836693

    oklch(55.6% 0.076 313.2)

  8. Step 700

    700

    #6F557D

    oklch(49.2% 0.07 313.4)

  9. Step 800

    800

    #5A4566

    oklch(42.6% 0.059 312.9)

  10. Step 900

    900

    #4A3B53

    oklch(37.8% 0.044 312.5)

  11. Step 950

    950 (this color)

    #2A212F

    oklch(26.4% 0.029 313.3)

Export this scale for Tailwind in the Tailwind colors tool

#2A212F 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)#1F24300.021
Deuteranopia (no green cones)#21242F0.019
Tritanopia (no blue cones)#2A23260.020
Achromatopsia (no color)#2424240.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A212F

    #2A212F

    oklch(26.4% 0.029 313.3)

  • #20281A

    #20281A

    oklch(26.4% 0.028 132.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A212F

    #2A212F

    oklch(26.4% 0.029 313.3)

  • #232333

    #232333

    oklch(26.4% 0.03 284.2)

  • #2F2029

    #2F2029

    oklch(26.5% 0.028 342.5)

Open the analogous palette in the generator

Split complementary

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

  • #2A212F

    #2A212F

    oklch(26.4% 0.029 313.3)

  • #272615

    #272615

    oklch(26.4% 0.029 105.3)

  • #182A21

    #182A21

    oklch(26.6% 0.029 161.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A212F

    #2A212F

    oklch(26.4% 0.029 313.3)

  • #2E2315

    #2E2315

    oklch(26.5% 0.029 72.7)

  • #132929

    #132929

    oklch(26.3% 0.028 195.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A212F

    #2A212F

    oklch(26.4% 0.029 313.3)

  • #31211A

    #31211A

    oklch(26.5% 0.028 44.6)

  • #20281A

    #20281A

    oklch(26.4% 0.028 132.2)

  • #15282F

    #15282F

    oklch(26.4% 0.028 223.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2A212F 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.