#2A87E2

Closest named color: Dark Sky Blue (#448EE4). oklch(61.6% 0.162 252), rgb(42, 135, 226).

Aa

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

About this color

#2A87E2 is a medium-dark, vivid blue. In OKLCH its lightness is 62%, its chroma 0.162 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Sky Blue (#448EE4), ΔE 0.028 away. Black text reads best on it, at 5.66:1.

Hue familyBlues
Lightnessmedium-dark (62%)
Chromavivid (0.162)
Temperaturecool
Nearest nameDark Sky Blue (#448EE4)
Black text5.66:1
White text3.70:1

Values

HEX#2A87E2
RGBrgb(42, 135, 226)
HSLhsl(210, 76%, 53%)
OKLCHoklch(61.6% 0.162 252)

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 #2A87E2 3.70:1 AA large text Lc -69.7 Content text, not long reading
Black text on #2A87E2 5.66:1 AA Lc 39.9 Non-text elements, placeholder text
#2A87E2 text on white 3.70:1 AA large text Lc 64.2 Content text, not long reading
#2A87E2 text on black 5.66:1 AA Lc -37.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 500.

  1. Step 50

    50

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DFEBF9

    oklch(93.5% 0.023 252.2)

  3. Step 200

    200

    #C5DCF6

    oklch(88.6% 0.044 251.5)

  4. Step 300

    300

    #9CC4F3

    oklch(80.8% 0.079 252.8)

  5. Step 400

    400

    #62A5ED

    oklch(70.8% 0.126 251.6)

  6. Step 500

    500 (this color)

    #2A87E2

    oklch(61.6% 0.162 252)

  7. Step 600

    600

    #0074D0

    oklch(55.6% 0.166 251.9)

  8. Step 700

    700

    #0061B0

    oklch(49% 0.147 252)

  9. Step 800

    800

    #004F92

    oklch(42.6% 0.129 252.3)

  10. Step 900

    900

    #094277

    oklch(37.6% 0.106 252.2)

  11. Step 950

    950

    #092746

    oklch(26.9% 0.068 252.4)

Export this scale for Tailwind in the Tailwind colors tool

#2A87E2 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)#5A8EE60.045
Deuteranopia (no green cones)#3B7DE00.026
Tritanopia (no blue cones)#009DA90.121
Achromatopsia (no color)#8585850.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A87E2

    #2A87E2

    oklch(61.6% 0.162 252)

  • #B57600

    #B57600

    oklch(61.7% 0.132 72.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A87E2

    #2A87E2

    oklch(61.6% 0.162 252)

  • #0093B6

    #0093B6

    oklch(61.5% 0.114 222.5)

  • #7874E2

    #7874E2

    oklch(61.5% 0.162 282.2)

Open the analogous palette in the generator

Split complementary

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

  • #2A87E2

    #2A87E2

    oklch(61.6% 0.162 252)

  • #D25C29

    #D25C29

    oklch(61.6% 0.162 41.7)

  • #958700

    #958700

    oklch(61.7% 0.129 102.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A87E2

    #2A87E2

    oklch(61.6% 0.162 252)

  • #D3536B

    #D3536B

    oklch(61.6% 0.162 11.8)

  • #5F9819

    #5F9819

    oklch(61.7% 0.162 131.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A87E2

    #2A87E2

    oklch(61.6% 0.162 252)

  • #C357A0

    #C357A0

    oklch(61.5% 0.162 341.7)

  • #B57600

    #B57600

    oklch(61.7% 0.132 72.3)

  • #009D6B

    #009D6B

    oklch(61.5% 0.135 161.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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