#2A2E40

Closest named color: Space Cadet (#2B2D42). oklch(30.5% 0.033 274.6), rgb(42, 46, 64).

Aa

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

About this color

#2A2E40 is a dark, muted blue. In OKLCH its lightness is 31%, its chroma 0.033 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.006 away. White text reads best on it, at 13.43:1.

Hue familyBlues
Lightnessdark (31%)
Chromamuted (0.033)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.56:1
White text13.43:1

Values

HEX#2A2E40
RGBrgb(42, 46, 64)
HSLhsl(229, 21%, 21%)
OKLCHoklch(30.5% 0.033 274.6)

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 #2A2E40 13.43:1 AAA Lc -103.0 Preferred for body text
Black text on #2A2E40 1.56:1 Fails Lc 0.0 Not readable
#2A2E40 text on white 13.43:1 AAA Lc 99.9 Preferred for body text
#2A2E40 text on black 1.56: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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E7E9F2

    oklch(93.5% 0.012 276.1)

  3. Step 200

    200

    #D4D8E8

    oklch(88.4% 0.022 274.7)

  4. Step 300

    300

    #B9BFDB

    oklch(80.9% 0.04 275.9)

  5. Step 400

    400

    #949EC8

    oklch(70.6% 0.063 274.3)

  6. Step 500

    500

    #7B86BA

    oklch(63.1% 0.079 274.7)

  7. Step 600

    600

    #646FA6

    oklch(55.6% 0.087 274.6)

  8. Step 700

    700

    #535D8F

    oklch(49.2% 0.081 274.4)

  9. Step 800

    800

    #444C74

    oklch(42.8% 0.067 274.6)

  10. Step 900

    900

    #393F5D

    oklch(37.6% 0.052 274.9)

  11. Step 950

    950 (this color)

    #2A2E40

    oklch(30.5% 0.033 274.6)

Export this scale for Tailwind in the Tailwind colors tool

#2A2E40 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)#2930410.006
Deuteranopia (no green cones)#272E400.005
Tritanopia (no blue cones)#2431340.029
Achromatopsia (no color)#2F2F2F0.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A2E40

    #2A2E40

    oklch(30.5% 0.033 274.6)

  • #342F1C

    #342F1C

    oklch(30.5% 0.032 95.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A2E40

    #2A2E40

    oklch(30.5% 0.033 274.6)

  • #21313F

    #21313F

    oklch(30.6% 0.033 245.6)

  • #332B3D

    #332B3D

    oklch(30.6% 0.034 304.8)

Open the analogous palette in the generator

Split complementary

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

  • #2A2E40

    #2A2E40

    oklch(30.5% 0.033 274.6)

  • #3B2C1D

    #3B2C1D

    oklch(30.6% 0.033 66)

  • #2B3220

    #2B3220

    oklch(30.5% 0.032 125.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A2E40

    #2A2E40

    oklch(30.5% 0.033 274.6)

  • #3E2924

    #3E2924

    oklch(30.5% 0.033 33.9)

  • #223428

    #223428

    oklch(30.5% 0.032 154.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A2E40

    #2A2E40

    oklch(30.5% 0.033 274.6)

  • #3E282D

    #3E282D

    oklch(30.5% 0.034 4.3)

  • #342F1C

    #342F1C

    oklch(30.5% 0.032 95.1)

  • #1B3531

    #1B3531

    oklch(30.7% 0.033 183.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2A2E40 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.