#3A4A8D

Closest named color: Dusk Blue (#26538D). oklch(43.1% 0.112 271), rgb(58, 74, 141).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.112)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.54:1
White text8.25:1

Values

HEX#3A4A8D
RGBrgb(58, 74, 141)
HSLhsl(228, 42%, 39%)
OKLCHoklch(43.1% 0.112 271)

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 #3A4A8D 8.25:1 AAA Lc -92.9 Preferred for body text
Black text on #3A4A8D 2.54:1 Fails Lc 15.7 Dividers and decoration only
#3A4A8D text on white 8.25:1 AAA Lc 88.3 Fine for body text
#3A4A8D text on black 2.54:1 Fails Lc -13.9 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F7

    oklch(93.5% 0.019 273.2)

  3. Step 200

    200

    #D0D8F2

    oklch(88.4% 0.037 272)

  4. Step 300

    300

    #B1BFEC

    oklch(80.9% 0.066 271.4)

  5. Step 400

    400

    #889DE2

    oklch(70.7% 0.104 270.6)

  6. Step 500

    500

    #6C83DA

    oklch(63.1% 0.134 271)

  7. Step 600

    600

    #556BC8

    oklch(55.7% 0.146 271)

  8. Step 700

    700

    #4559AC

    oklch(49.1% 0.134 270.6)

  9. Step 800

    800 (this color)

    #3A4A8D

    oklch(43.1% 0.112 271)

  10. Step 900

    900

    #313D70

    oklch(37.6% 0.088 271.6)

  11. Step 950

    950

    #1C2441

    oklch(26.9% 0.055 270.7)

Export this scale for Tailwind in the Tailwind colors tool

#3A4A8D 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)#2B528F0.026
Deuteranopia (no green cones)#1F4B8C0.029
Tritanopia (no blue cones)#0159640.101
Achromatopsia (no color)#4F4F4F0.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A4A8D

    #3A4A8D

    oklch(43.1% 0.112 271)

  • #624E00

    #624E00

    oklch(43.2% 0.088 91.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A4A8D

    #3A4A8D

    oklch(43.1% 0.112 271)

  • #005582

    #005582

    oklch(43% 0.101 241.6)

  • #5B3F83

    #5B3F83

    oklch(43.1% 0.111 300.9)

Open the analogous palette in the generator

Split complementary

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

  • #3A4A8D

    #3A4A8D

    oklch(43.1% 0.112 271)

  • #774100

    #774100

    oklch(43.3% 0.1 61)

  • #485800

    #485800

    oklch(43.1% 0.104 121)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A4A8D

    #3A4A8D

    oklch(43.1% 0.112 271)

  • #823327

    #823327

    oklch(43% 0.112 30.9)

  • #09612E

    #09612E

    oklch(43.3% 0.112 151)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A4A8D

    #3A4A8D

    oklch(43.1% 0.112 271)

  • #7F314C

    #7F314C

    oklch(43.1% 0.111 1.3)

  • #624E00

    #624E00

    oklch(43.2% 0.088 91.8)

  • #005E52

    #005E52

    oklch(43.2% 0.078 180.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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