#262B22

Closest named color: Jet (#212529). oklch(28.1% 0.018 131.2), rgb(38, 43, 34).

Aa

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

About this color

#262B22 is a dark close to neutral grey. In OKLCH its lightness is 28%, its chroma 0.018. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.030 away. White text reads best on it, at 14.47:1.

Hue familyNeutrals
Lightnessdark (28%)
Chromaclose to neutral grey (0.018)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.45:1
White text14.47:1

Values

HEX#262B22
RGBrgb(38, 43, 34)
HSLhsl(93, 12%, 15%)
OKLCHoklch(28.1% 0.018 131.2)

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 #262B22 14.47:1 AAA Lc -104.2 Preferred for body text
Black text on #262B22 1.45:1 Fails Lc 0.0 Not readable
#262B22 text on white 14.47:1 AAA Lc 101.3 Preferred for body text
#262B22 text on black 1.45: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

    #F5F6F4

    oklch(97.2% 0.003 128.5)

  2. Step 100

    100

    #E8EBE7

    oklch(93.7% 0.006 137.8)

  3. Step 200

    200

    #D6DBD3

    oklch(88.5% 0.012 133.4)

  4. Step 300

    300

    #BCC4B6

    oklch(81% 0.021 131.5)

  5. Step 400

    400

    #99A590

    oklch(70.6% 0.033 131.7)

  6. Step 500

    500

    #808F74

    oklch(63% 0.043 131.3)

  7. Step 600

    600

    #6A795D

    oklch(55.6% 0.046 130.7)

  8. Step 700

    700

    #58664C

    oklch(49.1% 0.044 130.9)

  9. Step 800

    800

    #48533F

    oklch(42.6% 0.035 131.2)

  10. Step 900

    900

    #3C4535

    oklch(37.7% 0.029 131.6)

  11. Step 950

    950 (this color)

    #262B22

    oklch(28.1% 0.018 131.2)

Export this scale for Tailwind in the Tailwind colors tool

#262B22 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)#2C2A210.011
Deuteranopia (no green cones)#2B29220.011
Tritanopia (no blue cones)#262A280.013
Achromatopsia (no color)#2929290.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #262B22

    #262B22

    oklch(28.1% 0.018 131.2)

  • #2C2730

    #2C2730

    oklch(28.2% 0.018 310.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #262B22

    #262B22

    oklch(28.1% 0.018 131.2)

  • #2B2920

    #2B2920

    oklch(28% 0.016 96.9)

  • #222C26

    #222C26

    oklch(28.1% 0.018 158.7)

Open the analogous palette in the generator

Split complementary

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

  • #262B22

    #262B22

    oklch(28.1% 0.018 131.2)

  • #272832

    #272832

    oklch(28% 0.018 280.6)

  • #2F262C

    #2F262C

    oklch(28.1% 0.017 338.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #262B22

    #262B22

    oklch(28.1% 0.018 131.2)

  • #232A32

    #232A32

    oklch(28.2% 0.018 251.9)

  • #312627

    #312627

    oklch(28.2% 0.017 12)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #262B22

    #262B22

    oklch(28.1% 0.018 131.2)

  • #202B2F

    #202B2F

    oklch(28.1% 0.017 222.1)

  • #2C2730

    #2C2730

    oklch(28.2% 0.018 310.1)

  • #312622

    #312622

    oklch(28% 0.018 41)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #262B22 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.