#2A304A

Closest named color: Space Cadet (#2B2D42). oklch(31.6% 0.047 273.5), rgb(42, 48, 74).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (32%)
Chromamuted (0.047)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.62:1
White text12.96:1

Values

HEX#2A304A
RGBrgb(42, 48, 74)
HSLhsl(229, 28%, 23%)
OKLCHoklch(31.6% 0.047 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 #2A304A 12.96:1 AAA Lc -102.4 Preferred for body text
Black text on #2A304A 1.62:1 Fails Lc 0.0 Not readable
#2A304A text on white 12.96:1 AAA Lc 99.1 Preferred for body text
#2A304A text on black 1.62: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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E6E9F5

    oklch(93.5% 0.016 274.8)

  3. Step 200

    200

    #D2D8EE

    oklch(88.4% 0.031 273.6)

  4. Step 300

    300

    #B5BFE6

    oklch(81% 0.056 273.8)

  5. Step 400

    400

    #8E9DD9

    oklch(70.7% 0.09 273.1)

  6. Step 500

    500

    #7384CF

    oklch(63.2% 0.115 273)

  7. Step 600

    600

    #5D6CBC

    oklch(55.7% 0.125 273.7)

  8. Step 700

    700

    #4C5AA2

    oklch(49.2% 0.116 273.1)

  9. Step 800

    800

    #3F4A83

    oklch(42.8% 0.095 273.5)

  10. Step 900

    900

    #353E69

    oklch(37.7% 0.074 273.4)

  11. Step 950

    950 (this color)

    #2A304A

    oklch(31.6% 0.047 273.5)

Export this scale for Tailwind in the Tailwind colors tool

#2A304A 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)#27334B0.010
Deuteranopia (no green cones)#2530490.008
Tritanopia (no blue cones)#2035390.043
Achromatopsia (no color)#3131310.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A304A

    #2A304A

    oklch(31.6% 0.047 273.5)

  • #3A3113

    #3A3113

    oklch(31.5% 0.047 92.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A304A

    #2A304A

    oklch(31.6% 0.047 273.5)

  • #1B3448

    #1B3448

    oklch(31.5% 0.048 244.3)

  • #372C46

    #372C46

    oklch(31.7% 0.047 303.2)

Open the analogous palette in the generator

Split complementary

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

  • #2A304A

    #2A304A

    oklch(31.6% 0.047 273.5)

  • #432C17

    #432C17

    oklch(31.6% 0.048 62.1)

  • #2D361A

    #2D361A

    oklch(31.6% 0.047 123.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A304A

    #2A304A

    oklch(31.6% 0.047 273.5)

  • #472922

    #472922

    oklch(31.7% 0.047 33.9)

  • #1D3926

    #1D3926

    oklch(31.6% 0.048 153.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A304A

    #2A304A

    oklch(31.6% 0.047 273.5)

  • #46272F

    #46272F

    oklch(31.5% 0.048 3.5)

  • #3A3113

    #3A3113

    oklch(31.5% 0.047 92.8)

  • #0F3A34

    #0F3A34

    oklch(31.7% 0.048 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 #2A304A, closest first.

Similar named colors

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

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