#2A87AF

Closest named color: Blue NCS (#118AB2). oklch(58.8% 0.104 231.2), rgb(42, 135, 175).

Aa

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

About this color

#2A87AF is a medium-dark, moderately saturated blue. In OKLCH its lightness is 59%, its chroma 0.104 and its hue 231°. Its hue sits on the cool side of the wheel. The nearest named color is Blue NCS (#118AB2), ΔE 0.011 away. Black text reads best on it, at 5.18:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.104)
Temperaturecool
Nearest nameBlue NCS (#118AB2)
Black text5.18:1
White text4.05:1

Values

HEX#2A87AF
RGBrgb(42, 135, 175)
HSLhsl(198, 61%, 43%)
OKLCHoklch(58.8% 0.104 231.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 #2A87AF 4.05:1 AA large text Lc -72.9 Content text, not long reading
Black text on #2A87AF 5.18:1 AA Lc 36.7 Non-text elements, placeholder text
#2A87AF text on white 4.05:1 AA large text Lc 67.4 Content text, not long reading
#2A87AF text on black 5.18:1 AA Lc -34.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 600.

  1. Step 50

    50

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF1

    oklch(93.6% 0.014 226.6)

  3. Step 200

    200

    #C9DDE7

    oklch(88.6% 0.025 229.2)

  4. Step 300

    300

    #A3C7DA

    oklch(81% 0.047 231.1)

  5. Step 400

    400

    #6FA9C7

    oklch(70.6% 0.075 231.8)

  6. Step 500

    500

    #4494B9

    oklch(63.2% 0.096 231)

  7. Step 600

    600 (this color)

    #2A87AF

    oklch(58.8% 0.104 231.2)

  8. Step 700

    700

    #096A8D

    oklch(49.2% 0.096 230.5)

  9. Step 800

    800

    #105673

    oklch(42.7% 0.08 231.8)

  10. Step 900

    900

    #18475D

    oklch(37.7% 0.063 232.2)

  11. Step 950

    950

    #102A36

    oklch(27.1% 0.039 230.5)

Export this scale for Tailwind in the Tailwind colors tool

#2A87AF 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)#7385B10.070
Deuteranopia (no green cones)#6179AE0.059
Tritanopia (no blue cones)#0092940.062
Achromatopsia (no color)#7E7E7E0.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A87AF

    #2A87AF

    oklch(58.8% 0.104 231.2)

  • #AD6940

    #AD6940

    oklch(58.7% 0.104 50.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A87AF

    #2A87AF

    oklch(58.8% 0.104 231.2)

  • #008E95

    #008E95

    oklch(58.8% 0.1 200.9)

  • #597CBA

    #597CBA

    oklch(58.7% 0.104 261.3)

Open the analogous palette in the generator

Split complementary

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

  • #2A87AF

    #2A87AF

    oklch(58.8% 0.104 231.2)

  • #B26261

    #B26261

    oklch(58.8% 0.104 21.5)

  • #9C7529

    #9C7529

    oklch(58.7% 0.103 80.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A87AF

    #2A87AF

    oklch(58.8% 0.104 231.2)

  • #AB6184

    #AB6184

    oklch(58.7% 0.105 351)

  • #7F8231

    #7F8231

    oklch(58.7% 0.104 111.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A87AF

    #2A87AF

    oklch(58.8% 0.104 231.2)

  • #9967A2

    #9967A2

    oklch(58.8% 0.104 321.3)

  • #AD6940

    #AD6940

    oklch(58.7% 0.104 50.7)

  • #588C50

    #588C50

    oklch(58.8% 0.105 141.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2A87AF 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.