#3A4871

Closest named color: Dark Grey Blue (#29465B). oklch(40.9% 0.071 268.8), rgb(58, 72, 113).

Aa

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

About this color

#3A4871 is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.071 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.045 away. White text reads best on it, at 8.95:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.071)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.34:1
White text8.95:1

Values

HEX#3A4871
RGBrgb(58, 72, 113)
HSLhsl(225, 32%, 34%)
OKLCHoklch(40.9% 0.071 268.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 #3A4871 8.95:1 AAA Lc -94.9 Preferred for body text
Black text on #3A4871 2.34:1 Fails Lc 13.5 Not readable
#3A4871 text on white 8.95:1 AAA Lc 90.5 Preferred for body text
#3A4871 text on black 2.34:1 Fails Lc -11.8 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 800.

  1. Step 50

    50

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E6EAF2

    oklch(93.6% 0.012 264.5)

  3. Step 200

    200

    #D3D9E9

    oklch(88.6% 0.023 269.4)

  4. Step 300

    300

    #B5C0DC

    oklch(80.8% 0.041 268.5)

  5. Step 400

    400

    #8F9FCB

    oklch(70.6% 0.067 269.1)

  6. Step 500

    500

    #7487BE

    oklch(63% 0.086 269.2)

  7. Step 600

    600

    #5D71AA

    oklch(55.7% 0.092 268.6)

  8. Step 700

    700

    #4C5E92

    oklch(49.1% 0.087 268.6)

  9. Step 800

    800 (this color)

    #3A4871

    oklch(40.9% 0.071 268.8)

  10. Step 900

    900

    #35405F

    oklch(37.6% 0.055 268.7)

  11. Step 950

    950

    #1F2638

    oklch(27.1% 0.035 267.7)

Export this scale for Tailwind in the Tailwind colors tool

#3A4871 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)#394C730.012
Deuteranopia (no green cones)#3347700.010
Tritanopia (no blue cones)#2551570.065
Achromatopsia (no color)#4949490.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A4871

    #3A4871

    oklch(40.9% 0.071 268.8)

  • #5A4815

    #5A4815

    oklch(41% 0.072 89)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A4871

    #3A4871

    oklch(40.9% 0.071 268.8)

  • #1F4F6C

    #1F4F6C

    oklch(40.9% 0.071 238.5)

  • #4F416B

    #4F416B

    oklch(40.8% 0.071 298.6)

Open the analogous palette in the generator

Split complementary

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

  • #3A4871

    #3A4871

    oklch(40.9% 0.071 268.8)

  • #67401F

    #67401F

    oklch(41% 0.072 58.9)

  • #464F1F

    #464F1F

    oklch(40.8% 0.071 118.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A4871

    #3A4871

    oklch(40.9% 0.071 268.8)

  • #6C3A33

    #6C3A33

    oklch(40.9% 0.072 29)

  • #2C5534

    #2C5534

    oklch(41% 0.072 148.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A4871

    #3A4871

    oklch(40.9% 0.071 268.8)

  • #693949

    #693949

    oklch(40.9% 0.071 359.4)

  • #5A4815

    #5A4815

    oklch(41% 0.072 89)

  • #0A574B

    #0A574B

    oklch(41.1% 0.072 178.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3A4871 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.