#3A4E82

Closest named color: Dusk Blue (#26538D). oklch(43.3% 0.09 266.8), rgb(58, 78, 130).

Aa

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

About this color

#3A4E82 is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.090 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.027 away. White text reads best on it, at 8.10:1.

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.090)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.59:1
White text8.10:1

Values

HEX#3A4E82
RGBrgb(58, 78, 130)
HSLhsl(223, 38%, 37%)
OKLCHoklch(43.3% 0.09 266.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 #3A4E82 8.10:1 AAA Lc -92.6 Preferred for body text
Black text on #3A4E82 2.59:1 Fails Lc 16.1 Dividers and decoration only
#3A4E82 text on white 8.10:1 AAA Lc 87.9 Fine for body text
#3A4E82 text on black 2.59:1 Fails Lc -14.2 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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF4

    oklch(93.6% 0.015 264.5)

  3. Step 200

    200

    #D0D9ED

    oklch(88.5% 0.029 266.4)

  4. Step 300

    300

    #B1C0E4

    oklch(80.8% 0.054 267.4)

  5. Step 400

    400

    #899FD6

    oklch(70.6% 0.085 267.4)

  6. Step 500

    500

    #6C87CB

    oklch(63.1% 0.108 266.9)

  7. Step 600

    600

    #5470B8

    oklch(55.7% 0.117 266.6)

  8. Step 700

    700

    #455D9E

    oklch(49.1% 0.108 267.1)

  9. Step 800

    800 (this color)

    #3A4E82

    oklch(43.3% 0.09 266.8)

  10. Step 900

    900

    #314067

    oklch(37.8% 0.07 267.1)

  11. Step 950

    950

    #1C263C

    oklch(27.1% 0.044 265)

Export this scale for Tailwind in the Tailwind colors tool

#3A4E82 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)#3953840.014
Deuteranopia (no green cones)#314D810.012
Tritanopia (no blue cones)#1559610.081
Achromatopsia (no color)#5050500.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A4E82

    #3A4E82

    oklch(43.3% 0.09 266.8)

  • #664C00

    #664C00

    oklch(43.2% 0.089 85.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A4E82

    #3A4E82

    oklch(43.3% 0.09 266.8)

  • #0B577B

    #0B577B

    oklch(43.3% 0.089 236.5)

  • #56457C

    #56457C

    oklch(43.3% 0.09 296.7)

Open the analogous palette in the generator

Split complementary

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

  • #3A4E82

    #3A4E82

    oklch(43.3% 0.09 266.8)

  • #754217

    #754217

    oklch(43.3% 0.09 56.8)

  • #4E5712

    #4E5712

    oklch(43.5% 0.09 116.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A4E82

    #3A4E82

    oklch(43.3% 0.09 266.8)

  • #7B3B35

    #7B3B35

    oklch(43.4% 0.09 26.9)

  • #2B5E32

    #2B5E32

    oklch(43.4% 0.09 146.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A4E82

    #3A4E82

    oklch(43.3% 0.09 266.8)

  • #773A51

    #773A51

    oklch(43.4% 0.089 357.6)

  • #664C00

    #664C00

    oklch(43.2% 0.089 85.9)

  • #005F50

    #005F50

    oklch(43.4% 0.08 177)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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