#3A5FA7

Closest named color: Dusky Blue (#475F94). oklch(49.5% 0.123 262.3), rgb(58, 95, 167).

Aa

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

About this color

#3A5FA7 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 49%, its chroma 0.123 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Dusky Blue (#475F94), ΔE 0.033 away. White text reads best on it, at 6.22:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.123)
Temperaturecool
Nearest nameDusky Blue (#475F94)
Black text3.37:1
White text6.22:1

Values

HEX#3A5FA7
RGBrgb(58, 95, 167)
HSLhsl(220, 48%, 44%)
OKLCHoklch(49.5% 0.123 262.3)

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 #3A5FA7 6.22:1 AA Lc -85.9 Fine for body text
Black text on #3A5FA7 3.37:1 AA large text Lc 23.3 Dividers and decoration only
#3A5FA7 text on white 6.22:1 AA Lc 80.8 Fine for body text
#3A5FA7 text on black 3.37:1 AA large text Lc -21.1 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 700.

  1. Step 50

    50

    #F3F6FB

    oklch(97.2% 0.007 260.7)

  2. Step 100

    100

    #E4EAF6

    oklch(93.6% 0.017 264.5)

  3. Step 200

    200

    #CEDAF0

    oklch(88.6% 0.033 262.7)

  4. Step 300

    300

    #ACC1E8

    oklch(80.8% 0.06 262.8)

  5. Step 400

    400

    #80A1DC

    oklch(70.7% 0.094 261.7)

  6. Step 500

    500

    #6188D3

    oklch(63.1% 0.122 262.6)

  7. Step 600

    600

    #4771C0

    oklch(55.7% 0.132 261.9)

  8. Step 700

    700 (this color)

    #3A5FA7

    oklch(49.5% 0.123 262.3)

  9. Step 800

    800

    #2F4D86

    oklch(42.7% 0.101 262)

  10. Step 900

    900

    #2A406B

    oklch(37.6% 0.079 262.7)

  11. Step 950

    950

    #19263F

    oklch(27% 0.05 262.6)

Export this scale for Tailwind in the Tailwind colors tool

#3A5FA7 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)#3E66AA0.021
Deuteranopia (no green cones)#2D5CA60.016
Tritanopia (no blue cones)#006F7B0.101
Achromatopsia (no color)#6161610.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A5FA7

    #3A5FA7

    oklch(49.5% 0.123 262.3)

  • #7E5B00

    #7E5B00

    oklch(49.5% 0.102 82.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A5FA7

    #3A5FA7

    oklch(49.5% 0.123 262.3)

  • #006B91

    #006B91

    oklch(49.6% 0.101 231.8)

  • #6552A1

    #6552A1

    oklch(49.5% 0.123 292.4)

Open the analogous palette in the generator

Split complementary

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

  • #3A5FA7

    #3A5FA7

    oklch(49.5% 0.123 262.3)

  • #964A08

    #964A08

    oklch(49.5% 0.122 52.8)

  • #636700

    #636700

    oklch(49.4% 0.11 112.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A5FA7

    #3A5FA7

    oklch(49.5% 0.123 262.3)

  • #9C4041

    #9C4041

    oklch(49.6% 0.123 22)

  • #32732D

    #32732D

    oklch(49.6% 0.123 142.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A5FA7

    #3A5FA7

    oklch(49.5% 0.123 262.3)

  • #944069

    #944069

    oklch(49.5% 0.122 352)

  • #7E5B00

    #7E5B00

    oklch(49.5% 0.102 82.4)

  • #00735C

    #00735C

    oklch(49.5% 0.096 172.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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