#262C38

Closest named color: Space Cadet (#2B2D42). oklch(29.3% 0.024 264.1), rgb(38, 44, 56).

Aa

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

About this color

#262C38 is a dark close to neutral grey. In OKLCH its lightness is 29%, its chroma 0.024. It has too little chroma to lean warm or cool. The nearest named color is Space Cadet (#2B2D42), ΔE 0.021 away. White text reads best on it, at 14.00:1.

Hue familyNeutrals
Lightnessdark (29%)
Chromaclose to neutral grey (0.024)
Temperatureneutral
Nearest nameSpace Cadet (#2B2D42)
Black text1.49:1
White text14.00:1

Values

HEX#262C38
RGBrgb(38, 44, 56)
HSLhsl(220, 19%, 18%)
OKLCHoklch(29.3% 0.024 264.1)

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 #262C38 14.00:1 AAA Lc -103.7 Preferred for body text
Black text on #262C38 1.49:1 Fails Lc 0.0 Not readable
#262C38 text on white 14.00:1 AAA Lc 100.7 Preferred for body text
#262C38 text on black 1.49: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

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E7EAEF

    oklch(93.6% 0.007 260.7)

  3. Step 200

    200

    #D4D9E4

    oklch(88.5% 0.016 266.3)

  4. Step 300

    300

    #B8C1D3

    oklch(81% 0.027 264.4)

  5. Step 400

    400

    #93A1BD

    oklch(70.8% 0.044 264.2)

  6. Step 500

    500

    #788AAD

    oklch(63.2% 0.057 263.5)

  7. Step 600

    600

    #617398

    oklch(55.6% 0.062 264.4)

  8. Step 700

    700

    #506182

    oklch(49.2% 0.057 263.3)

  9. Step 800

    800

    #424F6A

    oklch(42.8% 0.048 264.5)

  10. Step 900

    900

    #384256

    oklch(37.9% 0.037 264)

  11. Step 950

    950 (this color)

    #262C38

    oklch(29.3% 0.024 264.1)

Export this scale for Tailwind in the Tailwind colors tool

#262C38 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)#282D390.005
Deuteranopia (no green cones)#262B380.003
Tritanopia (no blue cones)#212E300.020
Achromatopsia (no color)#2C2C2C0.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #262C38

    #262C38

    oklch(29.3% 0.024 264.1)

  • #322B1E

    #322B1E

    oklch(29.3% 0.024 82.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #262C38

    #262C38

    oklch(29.3% 0.024 264.1)

  • #202E36

    #202E36

    oklch(29.2% 0.024 233.7)

  • #2C2A37

    #2C2A37

    oklch(29.3% 0.024 291.9)

Open the analogous palette in the generator

Split complementary

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

  • #262C38

    #262C38

    oklch(29.3% 0.024 264.1)

  • #362921

    #362921

    oklch(29.3% 0.024 53.1)

  • #2C2D20

    #2C2D20

    oklch(29.2% 0.023 111.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #262C38

    #262C38

    oklch(29.3% 0.024 264.1)

  • #372726

    #372726

    oklch(29.1% 0.024 22.8)

  • #252F25

    #252F25

    oklch(29.2% 0.023 145)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #262C38

    #262C38

    oklch(29.3% 0.024 264.1)

  • #36272D

    #36272D

    oklch(29.3% 0.025 352.9)

  • #322B1E

    #322B1E

    oklch(29.3% 0.024 82.7)

  • #20302B

    #20302B

    oklch(29.3% 0.023 173.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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