#3A4F8F

Closest named color: Dusk Blue (#26538D). oklch(44.4% 0.108 268.1), rgb(58, 79, 143).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.108)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.69:1
White text7.79:1

Values

HEX#3A4F8F
RGBrgb(58, 79, 143)
HSLhsl(225, 42%, 39%)
OKLCHoklch(44.4% 0.108 268.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 #3A4F8F 7.79:1 AAA Lc -91.6 Preferred for body text
Black text on #3A4F8F 2.69:1 Fails Lc 17.1 Dividers and decoration only
#3A4F8F text on white 7.79:1 AAA Lc 86.9 Fine for body text
#3A4F8F text on black 2.69:1 Fails Lc -15.2 Dividers and decoration only

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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E4EAF7

    oklch(93.6% 0.019 266)

  3. Step 200

    200

    #CFD9F1

    oklch(88.5% 0.035 267.6)

  4. Step 300

    300

    #AFC0EA

    oklch(80.9% 0.062 267.7)

  5. Step 400

    400

    #869EE0

    oklch(70.7% 0.101 268.5)

  6. Step 500

    500

    #6885D8

    oklch(63.2% 0.13 268)

  7. Step 600

    600

    #506DC5

    oklch(55.6% 0.14 267.9)

  8. Step 700

    700

    #415AAA

    oklch(49% 0.131 268.2)

  9. Step 800

    800 (this color)

    #3A4F8F

    oklch(44.4% 0.108 268.1)

  10. Step 900

    900

    #2E3F6E

    oklch(37.8% 0.084 267.4)

  11. Step 950

    950

    #1B2541

    oklch(27% 0.054 267.8)

Export this scale for Tailwind in the Tailwind colors tool

#3A4F8F 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)#3256910.020
Deuteranopia (no green cones)#274F8E0.021
Tritanopia (no blue cones)#005D680.095
Achromatopsia (no color)#5252520.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A4F8F

    #3A4F8F

    oklch(44.4% 0.108 268.1)

  • #685000

    #685000

    oklch(44.4% 0.091 88.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A4F8F

    #3A4F8F

    oklch(44.4% 0.108 268.1)

  • #005A83

    #005A83

    oklch(44.4% 0.098 237.9)

  • #5C4487

    #5C4487

    oklch(44.4% 0.109 298.4)

Open the analogous palette in the generator

Split complementary

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

  • #3A4F8F

    #3A4F8F

    oklch(44.4% 0.108 268.1)

  • #7E4200

    #7E4200

    oklch(44.5% 0.106 58.2)

  • #4F5B00

    #4F5B00

    oklch(44.5% 0.104 118.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A4F8F

    #3A4F8F

    oklch(44.4% 0.108 268.1)

  • #853830

    #853830

    oklch(44.4% 0.108 28.2)

  • #1E632F

    #1E632F

    oklch(44.3% 0.107 148.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A4F8F

    #3A4F8F

    oklch(44.4% 0.108 268.1)

  • #813653

    #813653

    oklch(44.4% 0.108 358.2)

  • #685000

    #685000

    oklch(44.4% 0.091 88.6)

  • #006254

    #006254

    oklch(44.4% 0.081 178.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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