#2D7AEA

Closest named color: Clear Blue (#247AFD). oklch(59.4% 0.185 258.4), rgb(45, 122, 234).

Aa

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

About this color

#2D7AEA is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.185 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.08:1.

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

Values

HEX#2D7AEA
RGBrgb(45, 122, 234)
HSLhsl(216, 82%, 55%)
OKLCHoklch(59.4% 0.185 258.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 #2D7AEA 4.13:1 AA large text Lc -73.4 Content text, not long reading
Black text on #2D7AEA 5.08:1 AA Lc 36.2 Non-text elements, placeholder text
#2D7AEA text on white 4.13:1 AA large text Lc 67.9 Content text, not long reading
#2D7AEA text on black 5.08:1 AA Lc -33.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 500.

  1. Step 50

    50

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #DFEBFC

    oklch(93.6% 0.026 257)

  3. Step 200

    200

    #C5DBFB

    oklch(88.5% 0.05 257.7)

  4. Step 300

    300

    #9DC2FB

    oklch(80.8% 0.091 258.9)

  5. Step 400

    400

    #66A1FA

    oklch(70.8% 0.145 258.4)

  6. Step 500

    500 (this color)

    #2D7AEA

    oklch(59.4% 0.185 258.4)

  7. Step 600

    600

    #0F6CE6

    oklch(55.6% 0.202 258.5)

  8. Step 700

    700

    #0059C7

    oklch(49% 0.186 258.6)

  9. Step 800

    800

    #074AA1

    oklch(42.7% 0.154 258.3)

  10. Step 900

    900

    #113F80

    oklch(37.7% 0.12 258.2)

  11. Step 950

    950

    #0C254B

    oklch(26.9% 0.077 258.8)

Export this scale for Tailwind in the Tailwind colors tool

#2D7AEA 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)#3986EE0.034
Deuteranopia (no green cones)#0075E80.023
Tritanopia (no blue cones)#0095A70.142
Achromatopsia (no color)#7D7D7D0.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D7AEA

    #2D7AEA

    oklch(59.4% 0.185 258.4)

  • #A67400

    #A67400

    oklch(59.5% 0.124 78.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D7AEA

    #2D7AEA

    oklch(59.4% 0.185 258.4)

  • #008BB5

    #008BB5

    oklch(59.5% 0.116 228.3)

  • #7E65E4

    #7E65E4

    oklch(59.5% 0.185 288.5)

Open the analogous palette in the generator

Split complementary

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

  • #2D7AEA

    #2D7AEA

    oklch(59.4% 0.185 258.4)

  • #C75900

    #C75900

    oklch(59.3% 0.161 48.3)

  • #868300

    #868300

    oklch(59.3% 0.128 108.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D7AEA

    #2D7AEA

    oklch(59.4% 0.185 258.4)

  • #D64052

    #D64052

    oklch(59.4% 0.186 18.3)

  • #399600

    #399600

    oklch(59.3% 0.185 138.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D7AEA

    #2D7AEA

    oklch(59.4% 0.185 258.4)

  • #C94391

    #C94391

    oklch(59.4% 0.186 348.4)

  • #A67400

    #A67400

    oklch(59.5% 0.124 78.6)

  • #009571

    #009571

    oklch(59.5% 0.12 168.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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