#3A87BA

Closest named color: Cool Blue (#4984B8). oklch(59.8% 0.108 241), rgb(58, 135, 186).

Aa

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

About this color

#3A87BA is a medium-dark, moderately saturated blue. In OKLCH its lightness is 60%, its chroma 0.108 and its hue 241°. Its hue sits on the cool side of the wheel. The nearest named color is Cool Blue (#4984B8), ΔE 0.013 away. Black text reads best on it, at 5.35:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.108)
Temperaturecool
Nearest nameCool Blue (#4984B8)
Black text5.35:1
White text3.92:1

Values

HEX#3A87BA
RGBrgb(58, 135, 186)
HSLhsl(204, 52%, 48%)
OKLCHoklch(59.8% 0.108 241)

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 #3A87BA 3.92:1 AA large text Lc -71.9 Content text, not long reading
Black text on #3A87BA 5.35:1 AA Lc 37.7 Non-text elements, placeholder text
#3A87BA text on white 3.92:1 AA large text Lc 66.4 Content text, not long reading
#3A87BA text on black 5.35:1 AA Lc -35.3 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 500.

  1. Step 50

    50

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1EBF3

    oklch(93.5% 0.015 241.8)

  3. Step 200

    200

    #C9DCEB

    oklch(88.5% 0.029 241.6)

  4. Step 300

    300

    #A3C6E0

    oklch(81% 0.053 240.5)

  5. Step 400

    400

    #6FA8D1

    oklch(70.8% 0.085 240.8)

  6. Step 500

    500 (this color)

    #3A87BA

    oklch(59.8% 0.108 241)

  7. Step 600

    600

    #1F7AB1

    oklch(55.5% 0.118 241.2)

  8. Step 700

    700

    #0E6798

    oklch(49.1% 0.109 240.7)

  9. Step 800

    800

    #12547C

    oklch(42.7% 0.091 241.4)

  10. Step 900

    900

    #184663

    oklch(37.7% 0.07 240.2)

  11. Step 950

    950

    #10293A

    oklch(27% 0.044 240.8)

Export this scale for Tailwind in the Tailwind colors tool

#3A87BA 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)#7087BC0.056
Deuteranopia (no green cones)#5E7BB90.044
Tritanopia (no blue cones)#0094990.076
Achromatopsia (no color)#8181810.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A87BA

    #3A87BA

    oklch(59.8% 0.108 241)

  • #AE6F35

    #AE6F35

    oklch(59.8% 0.108 60.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A87BA

    #3A87BA

    oklch(59.8% 0.108 241)

  • #0090A3

    #0090A3

    oklch(59.9% 0.104 211)

  • #687BC0

    #687BC0

    oklch(59.8% 0.108 271.2)

Open the analogous palette in the generator

Split complementary

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

  • #3A87BA

    #3A87BA

    oklch(59.8% 0.108 241)

  • #B76557

    #B76557

    oklch(59.7% 0.108 30.8)

  • #987D24

    #987D24

    oklch(59.9% 0.109 91.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A87BA

    #3A87BA

    oklch(59.8% 0.108 241)

  • #B4627C

    #B4627C

    oklch(59.8% 0.109 0.7)

  • #768939

    #768939

    oklch(59.7% 0.108 121)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A87BA

    #3A87BA

    oklch(59.8% 0.108 241)

  • #A4679D

    #A4679D

    oklch(59.8% 0.107 331)

  • #AE6F35

    #AE6F35

    oklch(59.8% 0.108 60.8)

  • #49925D

    #49925D

    oklch(59.8% 0.109 150.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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