#262B40

Closest named color: Space Cadet (#2B2D42). oklch(29.4% 0.039 273.5), rgb(38, 43, 64).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (29%)
Chromamuted (0.039)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.50:1
White text13.98:1

Values

HEX#262B40
RGBrgb(38, 43, 64)
HSLhsl(228, 25%, 20%)
OKLCHoklch(29.4% 0.039 273.5)

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 #262B40 13.98:1 AAA Lc -103.6 Preferred for body text
Black text on #262B40 1.50:1 Fails Lc 0.0 Not readable
#262B40 text on white 13.98:1 AAA Lc 100.6 Preferred for body text
#262B40 text on black 1.50: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

    #D3D8EB

    oklch(88.4% 0.027 274.1)

  4. Step 300

    300

    #B7BFDF

    oklch(80.9% 0.046 274.3)

  5. Step 400

    400

    #919ECF

    oklch(70.7% 0.073 272.9)

  6. Step 500

    500

    #7785C3

    oklch(63.1% 0.095 273.7)

  7. Step 600

    600

    #606EAF

    oklch(55.6% 0.102 273.4)

  8. Step 700

    700

    #505C97

    oklch(49.2% 0.096 273.7)

  9. Step 800

    800

    #414B7A

    oklch(42.6% 0.079 273.5)

  10. Step 900

    900

    #373F62

    oklch(37.7% 0.061 273.3)

  11. Step 950

    950 (this color)

    #262B40

    oklch(29.4% 0.039 273.5)

Export this scale for Tailwind in the Tailwind colors tool

#262B40 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)#242D410.007
Deuteranopia (no green cones)#222B3F0.007
Tritanopia (no blue cones)#1E2F320.036
Achromatopsia (no color)#2C2C2C0.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #262B40

    #262B40

    oklch(29.4% 0.039 273.5)

  • #332C14

    #332C14

    oklch(29.4% 0.04 93.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #262B40

    #262B40

    oklch(29.4% 0.039 273.5)

  • #1B2F3E

    #1B2F3E

    oklch(29.5% 0.038 242)

  • #30283C

    #30283C

    oklch(29.5% 0.037 302.5)

Open the analogous palette in the generator

Split complementary

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

  • #262B40

    #262B40

    oklch(29.4% 0.039 273.5)

  • #3A2817

    #3A2817

    oklch(29.4% 0.039 63.7)

  • #283019

    #283019

    oklch(29.5% 0.04 124.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #262B40

    #262B40

    oklch(29.4% 0.039 273.5)

  • #3E251F

    #3E251F

    oklch(29.4% 0.04 34.2)

  • #1C3223

    #1C3223

    oklch(29.4% 0.039 153.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #262B40

    #262B40

    oklch(29.4% 0.039 273.5)

  • #3D242A

    #3D242A

    oklch(29.4% 0.039 4.1)

  • #332C14

    #332C14

    oklch(29.4% 0.04 93.5)

  • #12332E

    #12332E

    oklch(29.5% 0.04 182.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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