#2A3145

Closest named color: Gunmetal (#293241). oklch(31.6% 0.037 269.3), rgb(42, 49, 69).

Aa

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

About this color

#2A3145 is a dark, muted blue. In OKLCH its lightness is 32%, its chroma 0.037 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Gunmetal (#293241), ΔE 0.009 away. White text reads best on it, at 12.93:1.

Hue familyBlues
Lightnessdark (32%)
Chromamuted (0.037)
Temperaturecool
Nearest nameGunmetal (#293241)
Black text1.62:1
White text12.93:1

Values

HEX#2A3145
RGBrgb(42, 49, 69)
HSLhsl(224, 24%, 22%)
OKLCHoklch(31.6% 0.037 269.3)

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 #2A3145 12.93:1 AAA Lc -102.4 Preferred for body text
Black text on #2A3145 1.62:1 Fails Lc 0.0 Not readable
#2A3145 text on white 12.93:1 AAA Lc 99.1 Preferred for body text
#2A3145 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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E6EAF3

    oklch(93.7% 0.013 266.7)

  3. Step 200

    200

    #D2D9EA

    oklch(88.5% 0.025 267.9)

  4. Step 300

    300

    #B5C0DE

    oklch(80.9% 0.044 269.5)

  5. Step 400

    400

    #8F9FCD

    oklch(70.7% 0.07 269.7)

  6. Step 500

    500

    #7387C1

    oklch(63.1% 0.091 269.1)

  7. Step 600

    600

    #5C70AD

    oklch(55.6% 0.098 269.3)

  8. Step 700

    700

    #4C5E95

    oklch(49.2% 0.091 269.1)

  9. Step 800

    800

    #3E4D79

    oklch(42.8% 0.076 268.8)

  10. Step 900

    900

    #354061

    oklch(37.7% 0.059 269.4)

  11. Step 950

    950 (this color)

    #2A3145

    oklch(31.6% 0.037 269.3)

Export this scale for Tailwind in the Tailwind colors tool

#2A3145 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)#2B33460.007
Deuteranopia (no green cones)#2830450.005
Tritanopia (no blue cones)#2235380.033
Achromatopsia (no color)#3131310.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A3145

    #2A3145

    oklch(31.6% 0.037 269.3)

  • #39311B

    #39311B

    oklch(31.6% 0.037 90.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A3145

    #2A3145

    oklch(31.6% 0.037 269.3)

  • #1F3443

    #1F3443

    oklch(31.4% 0.038 240.6)

  • #342E42

    #342E42

    oklch(31.6% 0.036 298.1)

Open the analogous palette in the generator

Split complementary

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

  • #2A3145

    #2A3145

    oklch(31.6% 0.037 269.3)

  • #402D1E

    #402D1E

    oklch(31.5% 0.038 59.1)

  • #2F351F

    #2F351F

    oklch(31.7% 0.038 121)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A3145

    #2A3145

    oklch(31.6% 0.037 269.3)

  • #432B27

    #432B27

    oklch(31.7% 0.037 29.7)

  • #243727

    #243727

    oklch(31.5% 0.038 148.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A3145

    #2A3145

    oklch(31.6% 0.037 269.3)

  • #422A31

    #422A31

    oklch(31.7% 0.037 0.4)

  • #39311B

    #39311B

    oklch(31.6% 0.037 90.2)

  • #1B3832

    #1B3832

    oklch(31.6% 0.037 178.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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