#2A405F

Closest named color: Dark Grey Blue (#29465B). oklch(36.8% 0.061 257.1), rgb(42, 64, 95).

Aa

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

About this color

#2A405F is a dark, muted blue. In OKLCH its lightness is 37%, its chroma 0.061 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.022 away. White text reads best on it, at 10.51:1.

Hue familyBlues
Lightnessdark (37%)
Chromamuted (0.061)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text1.99:1
White text10.51:1

Values

HEX#2A405F
RGBrgb(42, 64, 95)
HSLhsl(215, 39%, 27%)
OKLCHoklch(36.8% 0.061 257.1)

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 #2A405F 10.51:1 AAA Lc -98.3 Preferred for body text
Black text on #2A405F 1.99:1 Fails Lc 9.6 Not readable
#2A405F text on white 10.51:1 AAA Lc 94.3 Preferred for body text
#2A405F text on black 1.99:1 Fails Lc -8.3 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

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF3

    oklch(93.5% 0.014 258.3)

  3. Step 200

    200

    #CFDAEA

    oklch(88.5% 0.025 257.6)

  4. Step 300

    300

    #AEC2DE

    oklch(80.8% 0.045 256.8)

  5. Step 400

    400

    #84A3CE

    oklch(70.8% 0.072 256.6)

  6. Step 500

    500

    #658BC1

    oklch(63.1% 0.092 257.2)

  7. Step 600

    600

    #4B74AE

    oklch(55.5% 0.102 257.2)

  8. Step 700

    700

    #3D6195

    oklch(49% 0.094 257.6)

  9. Step 800

    800

    #325079

    oklch(42.8% 0.077 256.5)

  10. Step 900

    900 (this color)

    #2A405F

    oklch(36.8% 0.061 257.1)

  11. Step 950

    950

    #1A2739

    oklch(27% 0.038 256.7)

Export this scale for Tailwind in the Tailwind colors tool

#2A405F 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)#3442600.016
Deuteranopia (no green cones)#2D3D5E0.009
Tritanopia (no blue cones)#0F474B0.054
Achromatopsia (no color)#3F3F3F0.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A405F

    #2A405F

    oklch(36.8% 0.061 257.1)

  • #513B16

    #513B16

    oklch(36.9% 0.061 77.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A405F

    #2A405F

    oklch(36.8% 0.061 257.1)

  • #134558

    #134558

    oklch(36.7% 0.061 227.6)

  • #3D3A5E

    #3D3A5E

    oklch(36.8% 0.061 286.8)

Open the analogous palette in the generator

Split complementary

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

  • #2A405F

    #2A405F

    oklch(36.8% 0.061 257.1)

  • #593522

    #593522

    oklch(36.8% 0.06 48)

  • #434118

    #434118

    oklch(36.7% 0.06 106.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A405F

    #2A405F

    oklch(36.8% 0.061 257.1)

  • #5B3134

    #5B3134

    oklch(36.8% 0.061 15.9)

  • #304726

    #304726

    oklch(36.9% 0.061 136.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A405F

    #2A405F

    oklch(36.8% 0.061 257.1)

  • #563245

    #563245

    oklch(36.8% 0.059 347.5)

  • #513B16

    #513B16

    oklch(36.9% 0.061 77.8)

  • #184938

    #184938

    oklch(36.7% 0.061 166.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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