#2A87B8

Closest named color: Blue NCS (#118AB2). oklch(59.2% 0.113 236.7), rgb(42, 135, 184).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.113)
Temperaturecool
Nearest nameBlue NCS (#118AB2)
Black text5.25:1
White text3.99:1

Values

HEX#2A87B8
RGBrgb(42, 135, 184)
HSLhsl(201, 63%, 44%)
OKLCHoklch(59.2% 0.113 236.7)

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 #2A87B8 3.99:1 AA large text Lc -72.4 Content text, not long reading
Black text on #2A87B8 5.25:1 AA Lc 37.2 Non-text elements, placeholder text
#2A87B8 text on white 3.99:1 AA large text Lc 66.9 Content text, not long reading
#2A87B8 text on black 5.25:1 AA Lc -34.8 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

    #E1ECF3

    oklch(93.7% 0.015 235.4)

  3. Step 200

    200

    #C8DCEA

    oklch(88.4% 0.029 238.3)

  4. Step 300

    300

    #A2C6DE

    oklch(80.8% 0.051 237.5)

  5. Step 400

    400

    #6EA9CD

    oklch(70.8% 0.081 236.3)

  6. Step 500

    500

    #4392C0

    oklch(63% 0.104 237.2)

  7. Step 600

    600 (this color)

    #2A87B8

    oklch(59.2% 0.113 236.7)

  8. Step 700

    700

    #066894

    oklch(49% 0.105 236.9)

  9. Step 800

    800

    #0E5578

    oklch(42.6% 0.087 236.8)

  10. Step 900

    900

    #174761

    oklch(37.9% 0.067 236.4)

  11. Step 950

    950

    #0F2939

    oklch(26.9% 0.044 238.4)

Export this scale for Tailwind in the Tailwind colors tool

#2A87B8 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)#6F87BA0.064
Deuteranopia (no green cones)#5C79B70.054
Tritanopia (no blue cones)#0094980.073
Achromatopsia (no color)#7F7F7F0.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A87B8

    #2A87B8

    oklch(59.2% 0.113 236.7)

  • #B06B34

    #B06B34

    oklch(59.3% 0.112 56.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A87B8

    #2A87B8

    oklch(59.2% 0.113 236.7)

  • #008E9C

    #008E9C

    oklch(59.1% 0.101 207)

  • #5F7BC1

    #5F7BC1

    oklch(59.2% 0.112 266.5)

Open the analogous palette in the generator

Split complementary

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

  • #2A87B8

    #2A87B8

    oklch(59.2% 0.113 236.7)

  • #B76159

    #B76159

    oklch(59.1% 0.112 26.5)

  • #9B791B

    #9B791B

    oklch(59.3% 0.113 87)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A87B8

    #2A87B8

    oklch(59.2% 0.113 236.7)

  • #B25F7F

    #B25F7F

    oklch(59.1% 0.113 356.6)

  • #7A862E

    #7A862E

    oklch(59.2% 0.113 116.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A87B8

    #2A87B8

    oklch(59.2% 0.113 236.7)

  • #A165A1

    #A165A1

    oklch(59.3% 0.112 326.9)

  • #B06B34

    #B06B34

    oklch(59.3% 0.112 56.7)

  • #4C9055

    #4C9055

    oklch(59.3% 0.113 146.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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