#3A7FAC

Closest named color: Steel Blue (#4682B4). oklch(57.2% 0.098 240.2), rgb(58, 127, 172).

Aa

Black text reads best on this color (4.81:1).

About this color

#3A7FAC is a medium-dark, moderately saturated blue. In OKLCH its lightness is 57%, its chroma 0.098 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Steel Blue (#4682B4), ΔE 0.019 away. Black text reads best on it, at 4.81:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.098)
Temperaturecool
Nearest nameSteel Blue (#4682B4)
Black text4.81:1
White text4.36:1

Values

HEX#3A7FAC
RGBrgb(58, 127, 172)
HSLhsl(204, 50%, 45%)
OKLCHoklch(57.2% 0.098 240.2)

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 #3A7FAC 4.36:1 AA large text Lc -75.5 Fine for body text
Black text on #3A7FAC 4.81:1 AA Lc 34.1 Non-text elements, placeholder text
#3A7FAC text on white 4.36:1 AA large text Lc 70.0 Content text, not long reading
#3A7FAC text on black 4.81:1 AA Lc -31.7 Non-text elements, placeholder text

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 600.

  1. Step 50

    50

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E3EBF2

    oklch(93.6% 0.013 244.3)

  3. Step 200

    200

    #CBDCE8

    oklch(88.5% 0.025 238.4)

  4. Step 300

    300

    #A8C5DB

    oklch(80.9% 0.044 240.9)

  5. Step 400

    400

    #78A7C9

    oklch(70.7% 0.071 240.4)

  6. Step 500

    500

    #5391BB

    oklch(63.2% 0.09 239.9)

  7. Step 600

    600 (this color)

    #3A7FAC

    oklch(57.2% 0.098 240.2)

  8. Step 700

    700

    #27678F

    oklch(49.2% 0.091 239.9)

  9. Step 800

    800

    #225474

    oklch(42.7% 0.075 240)

  10. Step 900

    900

    #21465E

    oklch(37.8% 0.059 239.4)

  11. Step 950

    950

    #142937

    oklch(27% 0.038 239.4)

Export this scale for Tailwind in the Tailwind colors tool

#3A7FAC 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)#6A7FAE0.051
Deuteranopia (no green cones)#5B74AB0.042
Tritanopia (no blue cones)#008A8E0.070
Achromatopsia (no color)#7979790.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A7FAC

    #3A7FAC

    oklch(57.2% 0.098 240.2)

  • #A26937

    #A26937

    oklch(57.2% 0.098 60.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A7FAC

    #3A7FAC

    oklch(57.2% 0.098 240.2)

  • #048798

    #048798

    oklch(57.2% 0.098 210.3)

  • #6274B2

    #6274B2

    oklch(57.1% 0.098 270.7)

Open the analogous palette in the generator

Split complementary

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

  • #3A7FAC

    #3A7FAC

    oklch(57.2% 0.098 240.2)

  • #AA6155

    #AA6155

    oklch(57.3% 0.097 30.3)

  • #8E7529

    #8E7529

    oklch(57.2% 0.098 90.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A7FAC

    #3A7FAC

    oklch(57.2% 0.098 240.2)

  • #A75E75

    #A75E75

    oklch(57.2% 0.099 0.5)

  • #708039

    #708039

    oklch(57.1% 0.098 120.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A7FAC

    #3A7FAC

    oklch(57.2% 0.098 240.2)

  • #996293

    #996293

    oklch(57.3% 0.098 330.7)

  • #A26937

    #A26937

    oklch(57.2% 0.098 60.1)

  • #498859

    #498859

    oklch(57.1% 0.098 150.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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