#262A40

Closest named color: Space Cadet (#2B2D42). oklch(29.2% 0.041 275.7), rgb(38, 42, 64).

Aa

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

About this color

#262A40 is a dark, muted blue. In OKLCH its lightness is 29%, its chroma 0.041 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.014 away. White text reads best on it, at 14.11:1.

Hue familyBlues
Lightnessdark (29%)
Chromamuted (0.041)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.48:1
White text14.11:1

Values

HEX#262A40
RGBrgb(38, 42, 64)
HSLhsl(231, 25%, 20%)
OKLCHoklch(29.2% 0.041 275.7)

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 #262A40 14.11:1 AAA Lc -103.8 Preferred for body text
Black text on #262A40 1.48:1 Fails Lc 0.0 Not readable
#262A40 text on white 14.11:1 AAA Lc 100.8 Preferred for body text
#262A40 text on black 1.48: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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E7E9F3

    oklch(93.5% 0.014 277.1)

  3. Step 200

    200

    #D4D8EB

    oklch(88.5% 0.026 276.4)

  4. Step 300

    300

    #B7BFE0

    oklch(80.9% 0.047 274.6)

  5. Step 400

    400

    #939DD1

    oklch(70.7% 0.077 275.8)

  6. Step 500

    500

    #7984C5

    oklch(63.1% 0.099 275.9)

  7. Step 600

    600

    #626DB1

    oklch(55.6% 0.106 275.4)

  8. Step 700

    700

    #515B98

    oklch(49.1% 0.098 275.1)

  9. Step 800

    800

    #434A7C

    oklch(42.7% 0.083 276.2)

  10. Step 900

    900

    #383E63

    oklch(37.6% 0.064 275.9)

  11. Step 950

    950 (this color)

    #262A40

    oklch(29.2% 0.041 275.7)

Export this scale for Tailwind in the Tailwind colors tool

#262A40 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)#232C410.007
Deuteranopia (no green cones)#212A3F0.008
Tritanopia (no blue cones)#1F2E320.035
Achromatopsia (no color)#2B2B2B0.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #262A40

    #262A40

    oklch(29.2% 0.041 275.7)

  • #322C13

    #322C13

    oklch(29.3% 0.041 96.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #262A40

    #262A40

    oklch(29.2% 0.041 275.7)

  • #1A2E3F

    #1A2E3F

    oklch(29.3% 0.041 245.4)

  • #31263C

    #31263C

    oklch(29.1% 0.042 306.8)

Open the analogous palette in the generator

Split complementary

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

  • #262A40

    #262A40

    oklch(29.2% 0.041 275.7)

  • #3A2715

    #3A2715

    oklch(29.1% 0.041 63.5)

  • #272F19

    #272F19

    oklch(29.1% 0.039 125)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #262A40

    #262A40

    oklch(29.2% 0.041 275.7)

  • #3D241E

    #3D241E

    oklch(29.1% 0.04 34.2)

  • #1A3223

    #1A3223

    oklch(29.2% 0.041 155.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #262A40

    #262A40

    oklch(29.2% 0.041 275.7)

  • #3D2329

    #3D2329

    oklch(29.2% 0.041 4.9)

  • #322C13

    #322C13

    oklch(29.3% 0.041 96.2)

  • #0F322F

    #0F322F

    oklch(29.1% 0.04 187.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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