#2A404D

Closest named color: Charcoal (#264653). oklch(35.9% 0.036 235), rgb(42, 64, 77).

Aa

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

About this color

#2A404D is a dark, muted blue. In OKLCH its lightness is 36%, its chroma 0.036 and its hue 235°. Its hue sits on the cool side of the wheel. The nearest named color is Charcoal (#264653), ΔE 0.019 away. White text reads best on it, at 10.83:1.

Hue familyBlues
Lightnessdark (36%)
Chromamuted (0.036)
Temperaturecool
Nearest nameCharcoal (#264653)
Black text1.93:1
White text10.83:1

Values

HEX#2A404D
RGBrgb(42, 64, 77)
HSLhsl(202, 29%, 23%)
OKLCHoklch(35.9% 0.036 235)

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 #2A404D 10.83:1 AAA Lc -98.9 Preferred for body text
Black text on #2A404D 1.93:1 Fails Lc 8.9 Not readable
#2A404D text on white 10.83:1 AAA Lc 95.0 Preferred for body text
#2A404D text on black 1.93:1 Fails Lc -7.6 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 900.

  1. Step 50

    50

    #F3F6F7

    oklch(97.1% 0.003 219.5)

  2. Step 100

    100

    #E5EBEE

    oklch(93.6% 0.008 228.9)

  3. Step 200

    200

    #D0DBE2

    oklch(88.5% 0.015 235.4)

  4. Step 300

    300

    #B1C4D0

    oklch(81% 0.027 235.4)

  5. Step 400

    400

    #87A5B8

    oklch(70.6% 0.043 236)

  6. Step 500

    500

    #698FA6

    oklch(63% 0.055 235.4)

  7. Step 600

    600

    #507991

    oklch(55.5% 0.059 235)

  8. Step 700

    700

    #40667C

    oklch(49.1% 0.056 234.9)

  9. Step 800

    800

    #355365

    oklch(42.6% 0.047 235.7)

  10. Step 900

    900 (this color)

    #2A404D

    oklch(35.9% 0.036 235)

  11. Step 950

    950

    #1C2830

    oklch(26.9% 0.022 237.9)

Export this scale for Tailwind in the Tailwind colors tool

#2A404D 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)#3A3F4E0.023
Deuteranopia (no green cones)#353C4D0.019
Tritanopia (no blue cones)#1C43440.027
Achromatopsia (no color)#3D3D3D0.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A404D

    #2A404D

    oklch(35.9% 0.036 235)

  • #4C382B

    #4C382B

    oklch(35.9% 0.036 54.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A404D

    #2A404D

    oklch(35.9% 0.036 235)

  • #254246

    #254246

    oklch(35.8% 0.036 206.9)

  • #343D50

    #343D50

    oklch(36% 0.035 264.9)

Open the analogous palette in the generator

Split complementary

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

  • #2A404D

    #2A404D

    oklch(35.9% 0.036 235)

  • #4E3633

    #4E3633

    oklch(36% 0.035 27)

  • #453C27

    #453C27

    oklch(36% 0.036 87.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A404D

    #2A404D

    oklch(35.9% 0.036 235)

  • #4C353E

    #4C353E

    oklch(35.8% 0.036 353.8)

  • #3C3F29

    #3C3F29

    oklch(35.8% 0.036 114.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A404D

    #2A404D

    oklch(35.9% 0.036 235)

  • #473647

    #473647

    oklch(35.8% 0.037 326.3)

  • #4C382B

    #4C382B

    oklch(35.9% 0.036 54.3)

  • #314231

    #314231

    oklch(35.9% 0.036 144.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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