#2A7AEA

Closest named color: Clear Blue (#247AFD). oklch(59.3% 0.186 258), rgb(42, 122, 234).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.186)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.07:1
White text4.14:1

Values

HEX#2A7AEA
RGBrgb(42, 122, 234)
HSLhsl(215, 82%, 54%)
OKLCHoklch(59.3% 0.186 258)

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 #2A7AEA 4.14:1 AA large text Lc -73.4 Content text, not long reading
Black text on #2A7AEA 5.07:1 AA Lc 36.1 Non-text elements, placeholder text
#2A7AEA text on white 4.14:1 AA large text Lc 67.9 Content text, not long reading
#2A7AEA text on black 5.07:1 AA Lc -33.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 600.

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFA

    oklch(93.6% 0.024 256.1)

  3. Step 200

    200

    #C7DBF8

    oklch(88.6% 0.046 257.6)

  4. Step 300

    300

    #9FC3F7

    oklch(81% 0.084 257.5)

  5. Step 400

    400

    #6AA1F3

    oklch(70.6% 0.134 258.2)

  6. Step 500

    500

    #4087EF

    oklch(63.1% 0.172 258.2)

  7. Step 600

    600 (this color)

    #2A7AEA

    oklch(59.3% 0.186 258)

  8. Step 700

    700

    #0D5BC0

    oklch(49% 0.173 258.1)

  9. Step 800

    800

    #104B9B

    oklch(42.6% 0.143 258.1)

  10. Step 900

    900

    #16407B

    oklch(37.7% 0.111 257.8)

  11. Step 950

    950

    #0E2648

    oklch(27% 0.07 257.6)

Export this scale for Tailwind in the Tailwind colors tool

#2A7AEA 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)#3886EE0.034
Deuteranopia (no green cones)#0075E80.021
Tritanopia (no blue cones)#0095A70.141
Achromatopsia (no color)#7D7D7D0.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A7AEA

    #2A7AEA

    oklch(59.3% 0.186 258)

  • #A67300

    #A67300

    oklch(59.3% 0.124 77.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A7AEA

    #2A7AEA

    oklch(59.3% 0.186 258)

  • #008BB4

    #008BB4

    oklch(59.4% 0.116 227.7)

  • #7D64E4

    #7D64E4

    oklch(59.3% 0.186 288.4)

Open the analogous palette in the generator

Split complementary

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

  • #2A7AEA

    #2A7AEA

    oklch(59.3% 0.186 258)

  • #C85900

    #C85900

    oklch(59.4% 0.162 48.1)

  • #868300

    #868300

    oklch(59.3% 0.128 108.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A7AEA

    #2A7AEA

    oklch(59.3% 0.186 258)

  • #D64052

    #D64052

    oklch(59.4% 0.186 18.3)

  • #3C9600

    #3C9600

    oklch(59.5% 0.184 138)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A7AEA

    #2A7AEA

    oklch(59.3% 0.186 258)

  • #C84391

    #C84391

    oklch(59.3% 0.186 348.1)

  • #A67300

    #A67300

    oklch(59.3% 0.124 77.8)

  • #009470

    #009470

    oklch(59.2% 0.12 168)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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