#2A4161

Closest named color: Dark Grey Blue (#29465B). oklch(37.2% 0.063 256.8), rgb(42, 65, 97).

Aa

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

About this color

#2A4161 is a dark, muted blue. In OKLCH its lightness is 37%, its chroma 0.063 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.021 away. White text reads best on it, at 10.35:1.

Hue familyBlues
Lightnessdark (37%)
Chromamuted (0.063)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.02:1
White text10.35:1

Values

HEX#2A4161
RGBrgb(42, 65, 97)
HSLhsl(215, 40%, 27%)
OKLCHoklch(37.2% 0.063 256.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 #2A4161 10.35:1 AAA Lc -98.0 Preferred for body text
Black text on #2A4161 2.02:1 Fails Lc 10.0 Not readable
#2A4161 text on white 10.35:1 AAA Lc 93.9 Preferred for body text
#2A4161 text on black 2.02:1 Fails Lc -8.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

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF3

    oklch(93.5% 0.014 258.3)

  3. Step 200

    200

    #CEDAEB

    oklch(88.4% 0.027 257)

  4. Step 300

    300

    #AEC2DF

    oklch(80.8% 0.047 257.6)

  5. Step 400

    400

    #83A3CF

    oklch(70.8% 0.074 256.4)

  6. Step 500

    500

    #638BC3

    oklch(63.1% 0.096 256.9)

  7. Step 600

    600

    #4A74B0

    oklch(55.6% 0.105 257.4)

  8. Step 700

    700

    #3B6197

    oklch(49% 0.097 257.3)

  9. Step 800

    800

    #31507A

    oklch(42.8% 0.079 256.4)

  10. Step 900

    900 (this color)

    #2A4161

    oklch(37.2% 0.063 256.8)

  11. Step 950

    950

    #1A273A

    oklch(27% 0.04 257.8)

Export this scale for Tailwind in the Tailwind colors tool

#2A4161 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)#3443620.016
Deuteranopia (no green cones)#2D3E600.009
Tritanopia (no blue cones)#0C484C0.056
Achromatopsia (no color)#4040400.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A4161

    #2A4161

    oklch(37.2% 0.063 256.8)

  • #533B15

    #533B15

    oklch(37.1% 0.063 75.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A4161

    #2A4161

    oklch(37.2% 0.063 256.8)

  • #12475A

    #12475A

    oklch(37.3% 0.063 226.5)

  • #3E3B60

    #3E3B60

    oklch(37.3% 0.063 286.6)

Open the analogous palette in the generator

Split complementary

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

  • #2A4161

    #2A4161

    oklch(37.2% 0.063 256.8)

  • #5B3522

    #5B3522

    oklch(37.1% 0.063 46.8)

  • #444217

    #444217

    oklch(37.1% 0.062 106.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A4161

    #2A4161

    oklch(37.2% 0.063 256.8)

  • #5D3234

    #5D3234

    oklch(37.2% 0.062 17.6)

  • #304826

    #304826

    oklch(37.2% 0.063 137)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A4161

    #2A4161

    oklch(37.2% 0.063 256.8)

  • #583247

    #583247

    oklch(37.2% 0.063 346.3)

  • #533B15

    #533B15

    oklch(37.1% 0.063 75.9)

  • #184B39

    #184B39

    oklch(37.3% 0.063 166.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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