#262E38

Closest named color: Gunmetal (#293241). oklch(29.8% 0.021 254.2), rgb(38, 46, 56).

Aa

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

About this color

#262E38 is a dark close to neutral grey. In OKLCH its lightness is 30%, its chroma 0.021. It has too little chroma to lean warm or cool. The nearest named color is Gunmetal (#293241), ΔE 0.020 away. White text reads best on it, at 13.72:1.

Hue familyNeutrals
Lightnessdark (30%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameGunmetal (#293241)
Black text1.53:1
White text13.72:1

Values

HEX#262E38
RGBrgb(38, 46, 56)
HSLhsl(213, 19%, 18%)
OKLCHoklch(29.8% 0.021 254.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 #262E38 13.72:1 AAA Lc -103.4 Preferred for body text
Black text on #262E38 1.53:1 Fails Lc 0.0 Not readable
#262E38 text on white 13.72:1 AAA Lc 100.3 Preferred for body text
#262E38 text on black 1.53: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

    #F4F6F8

    oklch(97.2% 0.003 247.9)

  2. Step 100

    100

    #E7EAEF

    oklch(93.6% 0.007 260.7)

  3. Step 200

    200

    #D3DAE2

    oklch(88.5% 0.013 251.6)

  4. Step 300

    300

    #B6C2D1

    oklch(80.9% 0.025 254)

  5. Step 400

    400

    #90A2BA

    oklch(70.6% 0.041 255.7)

  6. Step 500

    500

    #748CA9

    oklch(63.2% 0.052 253.4)

  7. Step 600

    600

    #5D7594

    oklch(55.6% 0.056 255)

  8. Step 700

    700

    #4C627E

    oklch(49% 0.053 254.7)

  9. Step 800

    800

    #3F5067

    oklch(42.7% 0.044 256.1)

  10. Step 900

    900

    #354353

    oklch(37.7% 0.033 252.1)

  11. Step 950

    950 (this color)

    #262E38

    oklch(29.8% 0.021 254.2)

Export this scale for Tailwind in the Tailwind colors tool

#262E38 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)#2A2E380.007
Deuteranopia (no green cones)#282C380.007
Tritanopia (no blue cones)#2130310.019
Achromatopsia (no color)#2D2D2D0.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #262E38

    #262E38

    oklch(29.8% 0.021 254.2)

  • #342C21

    #342C21

    oklch(29.8% 0.022 75.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #262E38

    #262E38

    oklch(29.8% 0.021 254.2)

  • #223035

    #223035

    oklch(29.9% 0.021 221.9)

  • #2C2C38

    #2C2C38

    oklch(29.8% 0.022 285)

Open the analogous palette in the generator

Split complementary

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

  • #262E38

    #262E38

    oklch(29.8% 0.021 254.2)

  • #372A25

    #372A25

    oklch(29.8% 0.021 42.1)

  • #2F2E22

    #2F2E22

    oklch(29.8% 0.021 103.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #262E38

    #262E38

    oklch(29.8% 0.021 254.2)

  • #37292A

    #37292A

    oklch(29.7% 0.021 13.6)

  • #293025

    #293025

    oklch(29.9% 0.022 134.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #262E38

    #262E38

    oklch(29.8% 0.021 254.2)

  • #352930

    #352930

    oklch(29.7% 0.021 342.6)

  • #342C21

    #342C21

    oklch(29.8% 0.022 75.5)

  • #23312A

    #23312A

    oklch(29.8% 0.023 163)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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