#3A406E

Closest named color: Dark Grey Blue (#29465B). oklch(38.9% 0.078 276.5), rgb(58, 64, 110).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (39%)
Chromamoderately saturated (0.078)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.13:1
White text9.82:1

Values

HEX#3A406E
RGBrgb(58, 64, 110)
HSLhsl(233, 31%, 33%)
OKLCHoklch(38.9% 0.078 276.5)

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 #3A406E 9.82:1 AAA Lc -96.9 Preferred for body text
Black text on #3A406E 2.13:1 Fails Lc 11.3 Not readable
#3A406E text on white 9.82:1 AAA Lc 92.7 Preferred for body text
#3A406E text on black 2.13:1 Fails Lc -9.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 900.

  1. Step 50

    50

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E6E9F6

    oklch(93.6% 0.018 275.6)

  3. Step 200

    200

    #D3D8EF

    oklch(88.5% 0.032 276)

  4. Step 300

    300

    #B6BEE7

    oklch(80.9% 0.059 276.4)

  5. Step 400

    400

    #919BDB

    oklch(70.6% 0.094 276.9)

  6. Step 500

    500

    #7782D1

    oklch(63.2% 0.119 276.4)

  7. Step 600

    600

    #606ABE

    oklch(55.6% 0.13 276.2)

  8. Step 700

    700

    #5058A4

    oklch(49.2% 0.121 276.5)

  9. Step 800

    800

    #414885

    oklch(42.7% 0.101 276.3)

  10. Step 900

    900 (this color)

    #3A406E

    oklch(38.9% 0.078 276.5)

  11. Step 950

    950

    #20243E

    oklch(27% 0.049 276)

Export this scale for Tailwind in the Tailwind colors tool

#3A406E 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)#2F46700.021
Deuteranopia (no green cones)#2B426D0.021
Tritanopia (no blue cones)#2849510.069
Achromatopsia (no color)#4343430.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A406E

    #3A406E

    oklch(38.9% 0.078 276.5)

  • #514403

    #514403

    oklch(38.9% 0.078 96.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A406E

    #3A406E

    oklch(38.9% 0.078 276.5)

  • #1C486C

    #1C486C

    oklch(38.9% 0.078 246.4)

  • #4F3965

    #4F3965

    oklch(38.9% 0.077 306.2)

Open the analogous palette in the generator

Split complementary

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

  • #3A406E

    #3A406E

    oklch(38.9% 0.078 276.5)

  • #603B0D

    #603B0D

    oklch(38.8% 0.078 66.5)

  • #3A4C19

    #3A4C19

    oklch(38.9% 0.078 126.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A406E

    #3A406E

    oklch(38.9% 0.078 276.5)

  • #683426

    #683426

    oklch(38.9% 0.078 36)

  • #185133

    #185133

    oklch(38.9% 0.078 156.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A406E

    #3A406E

    oklch(38.9% 0.078 276.5)

  • #67313E

    #67313E

    oklch(38.9% 0.079 6.2)

  • #514403

    #514403

    oklch(38.9% 0.078 96.3)

  • #00504A

    #00504A

    oklch(38.8% 0.068 186.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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