#2A314E

Closest named color: Space Cadet (#2B2D42). oklch(32.1% 0.053 272.8), rgb(42, 49, 78).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (32%)
Chromamuted (0.053)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.64:1
White text12.74:1

Values

HEX#2A314E
RGBrgb(42, 49, 78)
HSLhsl(228, 30%, 24%)
OKLCHoklch(32.1% 0.053 272.8)

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 #2A314E 12.74:1 AAA Lc -102.1 Preferred for body text
Black text on #2A314E 1.64:1 Fails Lc 0.0 Not readable
#2A314E text on white 12.74:1 AAA Lc 98.8 Preferred for body text
#2A314E text on black 1.64: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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E6E9F6

    oklch(93.6% 0.018 275.6)

  3. Step 200

    200

    #D1D8F1

    oklch(88.5% 0.035 273.2)

  4. Step 300

    300

    #B3BFEA

    oklch(81% 0.062 272.7)

  5. Step 400

    400

    #8C9CDF

    oklch(70.6% 0.1 273.3)

  6. Step 500

    500

    #7083D6

    oklch(63.2% 0.127 272.6)

  7. Step 600

    600

    #596BC4

    oklch(55.7% 0.139 272.5)

  8. Step 700

    700

    #4958A9

    oklch(49% 0.13 272.8)

  9. Step 800

    800

    #3C4989

    oklch(42.8% 0.107 272.5)

  10. Step 900

    900

    #333D6D

    oklch(37.6% 0.083 272.9)

  11. Step 950

    950 (this color)

    #2A314E

    oklch(32.1% 0.053 272.8)

Export this scale for Tailwind in the Tailwind colors tool

#2A314E 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)#27344F0.010
Deuteranopia (no green cones)#24314D0.009
Tritanopia (no blue cones)#1E373C0.047
Achromatopsia (no color)#3232320.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A314E

    #2A314E

    oklch(32.1% 0.053 272.8)

  • #3C320F

    #3C320F

    oklch(32% 0.053 93.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A314E

    #2A314E

    oklch(32.1% 0.053 272.8)

  • #18364C

    #18364C

    oklch(32.1% 0.053 242.7)

  • #382C49

    #382C49

    oklch(32% 0.053 302.6)

Open the analogous palette in the generator

Split complementary

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

  • #2A314E

    #2A314E

    oklch(32.1% 0.053 272.8)

  • #462D14

    #462D14

    oklch(32.2% 0.053 63.9)

  • #2E3717

    #2E3717

    oklch(32% 0.053 122.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A314E

    #2A314E

    oklch(32.1% 0.053 272.8)

  • #4A2821

    #4A2821

    oklch(31.9% 0.053 32.5)

  • #1C3B26

    #1C3B26

    oklch(32.2% 0.053 152.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A314E

    #2A314E

    oklch(32.1% 0.053 272.8)

  • #492730

    #492730

    oklch(32% 0.052 3.4)

  • #3C320F

    #3C320F

    oklch(32% 0.053 93.2)

  • #083C35

    #083C35

    oklch(32.2% 0.053 181.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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