#2A2C40

Closest named color: Space Cadet (#2B2D42). oklch(30% 0.036 279.6), rgb(42, 44, 64).

Aa

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

About this color

#2A2C40 is a dark, muted blue. In OKLCH its lightness is 30%, its chroma 0.036 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.005 away. White text reads best on it, at 13.70:1.

Hue familyBlues
Lightnessdark (30%)
Chromamuted (0.036)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.53:1
White text13.70:1

Values

HEX#2A2C40
RGBrgb(42, 44, 64)
HSLhsl(235, 21%, 21%)
OKLCHoklch(30% 0.036 279.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 #2A2C40 13.70:1 AAA Lc -103.3 Preferred for body text
Black text on #2A2C40 1.53:1 Fails Lc 0.0 Not readable
#2A2C40 text on white 13.70:1 AAA Lc 100.2 Preferred for body text
#2A2C40 text on black 1.53: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

    #E8E9F2

    oklch(93.6% 0.012 281.1)

  3. Step 200

    200

    #D5D8E9

    oklch(88.5% 0.023 277.9)

  4. Step 300

    300

    #BABEDD

    oklch(80.8% 0.044 279.6)

  5. Step 400

    400

    #979CCB

    oklch(70.6% 0.069 279.7)

  6. Step 500

    500

    #7E84BE

    oklch(63.1% 0.087 279)

  7. Step 600

    600

    #686DAA

    oklch(55.7% 0.094 279.3)

  8. Step 700

    700

    #575A92

    oklch(49% 0.089 280.2)

  9. Step 800

    800

    #474A77

    oklch(42.7% 0.074 279.8)

  10. Step 900

    900

    #3B3E60

    oklch(37.7% 0.058 279.3)

  11. Step 950

    950 (this color)

    #2A2C40

    oklch(30% 0.036 279.6)

Export this scale for Tailwind in the Tailwind colors tool

#2A2C40 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)#262E410.008
Deuteranopia (no green cones)#252D3F0.009
Tritanopia (no blue cones)#2430330.033
Achromatopsia (no color)#2D2D2D0.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A2C40

    #2A2C40

    oklch(30% 0.036 279.6)

  • #322E18

    #322E18

    oklch(29.9% 0.036 99.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A2C40

    #2A2C40

    oklch(30% 0.036 279.6)

  • #202F40

    #202F40

    oklch(30% 0.037 252.1)

  • #33293C

    #33293C

    oklch(30% 0.036 308.3)

Open the analogous palette in the generator

Split complementary

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

  • #2A2C40

    #2A2C40

    oklch(30% 0.036 279.6)

  • #3A2B19

    #3A2B19

    oklch(30.1% 0.037 70.8)

  • #28321E

    #28321E

    oklch(30.2% 0.037 130)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A2C40

    #2A2C40

    oklch(30% 0.036 279.6)

  • #3E2820

    #3E2820

    oklch(30.1% 0.036 40.8)

  • #1D3427

    #1D3427

    oklch(30.1% 0.038 158.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A2C40

    #2A2C40

    oklch(30% 0.036 279.6)

  • #3E262A

    #3E262A

    oklch(30% 0.037 8.6)

  • #322E18

    #322E18

    oklch(29.9% 0.036 99.2)

  • #163432

    #163432

    oklch(30.1% 0.036 189.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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