#2A7AF6

Closest named color: Clear Blue (#247AFD). oklch(60.2% 0.201 259.4), rgb(42, 122, 246).

Aa

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

About this color

#2A7AF6 is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.201 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Clear Blue (#247AFD), ΔE 0.011 away. Black text reads best on it, at 5.21:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.201)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.21:1
White text4.02:1

Values

HEX#2A7AF6
RGBrgb(42, 122, 246)
HSLhsl(216, 92%, 56%)
OKLCHoklch(60.2% 0.201 259.4)

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 #2A7AF6 4.02:1 AA large text Lc -72.4 Content text, not long reading
Black text on #2A7AF6 5.21:1 AA Lc 37.1 Non-text elements, placeholder text
#2A7AF6 text on white 4.02:1 AA large text Lc 66.9 Content text, not long reading
#2A7AF6 text on black 5.21:1 AA Lc -34.7 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

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DFEBFD

    oklch(93.6% 0.028 258.4)

  3. Step 200

    200

    #C4DBFE

    oklch(88.6% 0.054 258.7)

  4. Step 300

    300

    #9CC2FF

    oklch(80.9% 0.096 259.7)

  5. Step 400

    400

    #64A0FF

    oklch(70.8% 0.153 259.2)

  6. Step 500

    500 (this color)

    #2A7AF6

    oklch(60.2% 0.201 259.4)

  7. Step 600

    600

    #0269F0

    oklch(55.7% 0.219 259.4)

  8. Step 700

    700

    #0057CC

    oklch(49% 0.195 259.5)

  9. Step 800

    800

    #0047A9

    oklch(42.7% 0.169 259.5)

  10. Step 900

    900

    #0E3D86

    oklch(37.7% 0.132 259.6)

  11. Step 950

    950

    #0A254E

    oklch(27.1% 0.082 258.9)

Export this scale for Tailwind in the Tailwind colors tool

#2A7AF6 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)#2688FA0.035
Deuteranopia (no green cones)#0076F40.019
Tritanopia (no blue cones)#0098AC0.154
Achromatopsia (no color)#7F7F7F0.201

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A7AF6

    #2A7AF6

    oklch(60.2% 0.201 259.4)

  • #A87600

    #A87600

    oklch(60.1% 0.125 79)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A7AF6

    #2A7AF6

    oklch(60.2% 0.201 259.4)

  • #008DB9

    #008DB9

    oklch(60.2% 0.119 229.1)

  • #8262EE

    #8262EE

    oklch(60.1% 0.201 289.4)

Open the analogous palette in the generator

Split complementary

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

  • #2A7AF6

    #2A7AF6

    oklch(60.2% 0.201 259.4)

  • #C95D00

    #C95D00

    oklch(60.2% 0.16 49.7)

  • #878600

    #878600

    oklch(60.1% 0.131 109.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A7AF6

    #2A7AF6

    oklch(60.2% 0.201 259.4)

  • #DF394D

    #DF394D

    oklch(60.1% 0.201 19.5)

  • #339A00

    #339A00

    oklch(60.3% 0.192 139.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A7AF6

    #2A7AF6

    oklch(60.2% 0.201 259.4)

  • #D13D93

    #D13D93

    oklch(60.1% 0.201 349.1)

  • #A87600

    #A87600

    oklch(60.1% 0.125 79)

  • #009775

    #009775

    oklch(60.1% 0.12 169.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #2A7AF6.

Similar named colors

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

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