#262A39

Closest named color: Space Cadet (#2B2D42). oklch(28.8% 0.028 272.9), rgb(38, 42, 57).

Aa

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

About this color

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

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

Values

HEX#262A39
RGBrgb(38, 42, 57)
HSLhsl(227, 20%, 19%)
OKLCHoklch(28.8% 0.028 272.9)

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 #262A39 14.25:1 AAA Lc -103.9 Preferred for body text
Black text on #262A39 1.47:1 Fails Lc 0.0 Not readable
#262A39 text on white 14.25:1 AAA Lc 101.0 Preferred for body text
#262A39 text on black 1.47: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

    #E7EAF0

    oklch(93.6% 0.009 264.5)

  3. Step 200

    200

    #D5D9E6

    oklch(88.6% 0.018 272.3)

  4. Step 300

    300

    #B9C0D7

    oklch(81% 0.033 272.2)

  5. Step 400

    400

    #959FC3

    oklch(70.7% 0.054 272.8)

  6. Step 500

    500

    #7B87B3

    oklch(63% 0.068 272.5)

  7. Step 600

    600

    #65709F

    oklch(55.5% 0.074 273.6)

  8. Step 700

    700

    #545E88

    oklch(49.1% 0.069 273.4)

  9. Step 800

    800

    #444D6E

    oklch(42.7% 0.056 272.1)

  10. Step 900

    900

    #3A4059

    oklch(37.7% 0.044 273.7)

  11. Step 950

    950 (this color)

    #262A39

    oklch(28.8% 0.028 272.9)

Export this scale for Tailwind in the Tailwind colors tool

#262A39 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)#262B3A0.003
Deuteranopia (no green cones)#242A390.003
Tritanopia (no blue cones)#212D2F0.026
Achromatopsia (no color)#2A2A2A0.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #262A39

    #262A39

    oklch(28.8% 0.028 272.9)

  • #302B1A

    #302B1A

    oklch(28.9% 0.029 93.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #262A39

    #262A39

    oklch(28.8% 0.028 272.9)

  • #1E2D38

    #1E2D38

    oklch(28.9% 0.029 240.8)

  • #2D2736

    #2D2736

    oklch(28.6% 0.028 302.9)

Open the analogous palette in the generator

Split complementary

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

  • #262A39

    #262A39

    oklch(28.8% 0.028 272.9)

  • #35281C

    #35281C

    oklch(28.8% 0.028 64)

  • #282D1E

    #282D1E

    oklch(28.7% 0.027 123.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #262A39

    #262A39

    oklch(28.8% 0.028 272.9)

  • #382622

    #382622

    oklch(28.9% 0.028 32.9)

  • #202F24

    #202F24

    oklch(28.8% 0.028 152.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #262A39

    #262A39

    oklch(28.8% 0.028 272.9)

  • #372529

    #372529

    oklch(28.8% 0.028 4.3)

  • #302B1A

    #302B1A

    oklch(28.9% 0.029 93.6)

  • #1A2F2C

    #1A2F2C

    oklch(28.6% 0.028 184.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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