#2A87B3

Closest named color: Blue NCS (#118AB2). oklch(59% 0.108 233.8), rgb(42, 135, 179).

Aa

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

About this color

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

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

Values

HEX#2A87B3
RGBrgb(42, 135, 179)
HSLhsl(199, 62%, 43%)
OKLCHoklch(59% 0.108 233.8)

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 #2A87B3 4.02:1 AA large text Lc -72.7 Content text, not long reading
Black text on #2A87B3 5.21:1 AA Lc 36.9 Non-text elements, placeholder text
#2A87B3 text on white 4.02:1 AA large text Lc 67.2 Content text, not long reading
#2A87B3 text on black 5.21:1 AA Lc -34.5 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

    #E1ECF2

    oklch(93.7% 0.014 231.2)

  3. Step 200

    200

    #C9DDE8

    oklch(88.6% 0.026 231.7)

  4. Step 300

    300

    #A3C7DB

    oklch(81% 0.048 232.5)

  5. Step 400

    400

    #6EA9CA

    oklch(70.7% 0.078 233.9)

  6. Step 500

    500

    #4393BC

    oklch(63.1% 0.099 233.8)

  7. Step 600

    600 (this color)

    #2A87B3

    oklch(59% 0.108 233.8)

  8. Step 700

    700

    #086990

    oklch(49.1% 0.1 233.6)

  9. Step 800

    800

    #0F5675

    oklch(42.8% 0.083 233.4)

  10. Step 900

    900

    #17475E

    oklch(37.7% 0.064 233.1)

  11. Step 950

    950

    #0F2A37

    oklch(27.1% 0.041 231.9)

Export this scale for Tailwind in the Tailwind colors tool

#2A87B3 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)#7186B50.067
Deuteranopia (no green cones)#5F79B20.056
Tritanopia (no blue cones)#0093960.067
Achromatopsia (no color)#7F7F7F0.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A87B3

    #2A87B3

    oklch(59% 0.108 233.8)

  • #AE6A3A

    #AE6A3A

    oklch(58.9% 0.108 54.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A87B3

    #2A87B3

    oklch(59% 0.108 233.8)

  • #008E98

    #008E98

    oklch(58.9% 0.1 203.6)

  • #5C7CBD

    #5C7CBD

    oklch(59.1% 0.107 263.5)

Open the analogous palette in the generator

Split complementary

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

  • #2A87B3

    #2A87B3

    oklch(59% 0.108 233.8)

  • #B4625E

    #B4625E

    oklch(59% 0.107 23.7)

  • #9B7723

    #9B7723

    oklch(59% 0.107 84.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A87B3

    #2A87B3

    oklch(59% 0.108 233.8)

  • #AE6182

    #AE6182

    oklch(59% 0.107 353.7)

  • #7D8430

    #7D8430

    oklch(59% 0.108 113.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A87B3

    #2A87B3

    oklch(59% 0.108 233.8)

  • #9C66A1

    #9C66A1

    oklch(58.9% 0.107 323.8)

  • #AE6A3A

    #AE6A3A

    oklch(58.9% 0.108 54.1)

  • #538E52

    #538E52

    oklch(59.1% 0.109 143.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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