#2A87F6

Closest named color: Dodger Blue (#1E90FF). oklch(62.9% 0.187 255.7), rgb(42, 135, 246).

Aa

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

About this color

#2A87F6 is a medium-light, vivid blue. In OKLCH its lightness is 63%, its chroma 0.187 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Dodger Blue (#1E90FF), ΔE 0.025 away. Black text reads best on it, at 5.89:1.

Hue familyBlues
Lightnessmedium-light (63%)
Chromavivid (0.187)
Temperaturecool
Nearest nameDodger Blue (#1E90FF)
Black text5.89:1
White text3.56:1

Values

HEX#2A87F6
RGBrgb(42, 135, 246)
HSLhsl(213, 92%, 56%)
OKLCHoklch(62.9% 0.187 255.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 #2A87F6 3.56:1 AA large text Lc -68.1 Content text, not long reading
Black text on #2A87F6 5.89:1 AA Lc 41.4 Non-text elements, placeholder text
#2A87F6 text on white 3.56:1 AA large text Lc 62.7 Content text, not long reading
#2A87F6 text on black 5.89:1 AA Lc -39.0 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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFC

    oklch(93.6% 0.026 257)

  3. Step 200

    200

    #C4DBFB

    oklch(88.5% 0.051 256.7)

  4. Step 300

    300

    #9AC3FB

    oklch(80.8% 0.091 256.3)

  5. Step 400

    400

    #5FA2FA

    oklch(70.7% 0.147 255.9)

  6. Step 500

    500 (this color)

    #2A87F6

    oklch(62.9% 0.187 255.7)

  7. Step 600

    600

    #0070DE

    oklch(55.7% 0.188 255.7)

  8. Step 700

    700

    #005EBC

    oklch(49.2% 0.166 255.7)

  9. Step 800

    800

    #004C9B

    oklch(42.6% 0.144 255.8)

  10. Step 900

    900

    #064080

    oklch(37.7% 0.121 255.7)

  11. Step 950

    950

    #08264B

    oklch(27% 0.077 255.8)

Export this scale for Tailwind in the Tailwind colors tool

#2A87F6 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)#4B91FA0.038
Deuteranopia (no green cones)#147FF40.024
Tritanopia (no blue cones)#00A2B20.142
Achromatopsia (no color)#8888880.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A87F6

    #2A87F6

    oklch(62.9% 0.187 255.7)

  • #B67C00

    #B67C00

    oklch(63% 0.132 76.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A87F6

    #2A87F6

    oklch(62.9% 0.187 255.7)

  • #0097C0

    #0097C0

    oklch(63% 0.12 225.7)

  • #8271F2

    #8271F2

    oklch(62.8% 0.186 285.7)

Open the analogous palette in the generator

Split complementary

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

  • #2A87F6

    #2A87F6

    oklch(62.9% 0.187 255.7)

  • #DB5D00

    #DB5D00

    oklch(62.9% 0.177 45.9)

  • #948D00

    #948D00

    oklch(62.9% 0.134 106.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A87F6

    #2A87F6

    oklch(62.9% 0.187 255.7)

  • #E34B62

    #E34B62

    oklch(62.9% 0.187 15.6)

  • #4FA000

    #4FA000

    oklch(62.9% 0.186 135.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A87F6

    #2A87F6

    oklch(62.9% 0.187 255.7)

  • #D34FA1

    #D34FA1

    oklch(62.8% 0.187 345.6)

  • #B67C00

    #B67C00

    oklch(63% 0.132 76.1)

  • #00A176

    #00A176

    oklch(62.9% 0.131 165.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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