#3A4E5B

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.2% 0.033 237.1), rgb(58, 78, 91).

Aa

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

About this color

#3A4E5B is a dark, muted blue. In OKLCH its lightness is 41%, its chroma 0.033 and its hue 237°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.027 away. White text reads best on it, at 8.67:1.

Hue familyBlues
Lightnessdark (41%)
Chromamuted (0.033)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.42:1
White text8.67:1

Values

HEX#3A4E5B
RGBrgb(58, 78, 91)
HSLhsl(204, 22%, 29%)
OKLCHoklch(41.2% 0.033 237.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 #3A4E5B 8.67:1 AAA Lc -94.2 Preferred for body text
Black text on #3A4E5B 2.42:1 Fails Lc 14.2 Not readable
#3A4E5B text on white 8.67:1 AAA Lc 89.7 Fine for body text
#3A4E5B text on black 2.42:1 Fails Lc -12.5 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

    #F4F6F7

    oklch(97.2% 0.003 228.8)

  2. Step 100

    100

    #E6EAED

    oklch(93.5% 0.006 239.8)

  3. Step 200

    200

    #D3DADF

    oklch(88.4% 0.01 238.5)

  4. Step 300

    300

    #B5C3CC

    oklch(80.9% 0.02 235.8)

  5. Step 400

    400

    #8FA4B2

    oklch(70.7% 0.031 237.1)

  6. Step 500

    500

    #738E9F

    oklch(63.2% 0.04 235.9)

  7. Step 600

    600

    #5C788A

    oklch(55.8% 0.043 236.7)

  8. Step 700

    700

    #4B6475

    oklch(49% 0.04 238.4)

  9. Step 800

    800 (this color)

    #3A4E5B

    oklch(41.2% 0.033 237.1)

  10. Step 900

    900

    #35444E

    oklch(37.8% 0.026 237.6)

  11. Step 950

    950

    #1F282E

    oklch(27.1% 0.017 237.4)

Export this scale for Tailwind in the Tailwind colors tool

#3A4E5B 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)#484D5C0.021
Deuteranopia (no green cones)#444A5B0.018
Tritanopia (no blue cones)#2F51520.025
Achromatopsia (no color)#4B4B4B0.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A4E5B

    #3A4E5B

    oklch(41.2% 0.033 237.1)

  • #59473A

    #59473A

    oklch(41.3% 0.032 57.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A4E5B

    #3A4E5B

    oklch(41.2% 0.033 237.1)

  • #355054

    #355054

    oklch(41.1% 0.033 207.5)

  • #434B5E

    #434B5E

    oklch(41.3% 0.034 267)

Open the analogous palette in the generator

Split complementary

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

  • #3A4E5B

    #3A4E5B

    oklch(41.2% 0.033 237.1)

  • #5C4441

    #5C4441

    oklch(41.2% 0.034 26.8)

  • #534A36

    #534A36

    oklch(41.2% 0.034 86.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A4E5B

    #3A4E5B

    oklch(41.2% 0.033 237.1)

  • #5A444B

    #5A444B

    oklch(41.3% 0.032 357.7)

  • #494E39

    #494E39

    oklch(41.3% 0.034 118.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A4E5B

    #3A4E5B

    oklch(41.2% 0.033 237.1)

  • #554555

    #554555

    oklch(41.3% 0.033 326.2)

  • #59473A

    #59473A

    oklch(41.3% 0.032 57.5)

  • #3F5041

    #3F5041

    oklch(41.2% 0.033 148.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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