#2A7FFF

Closest named color: Clear Blue (#247AFD). oklch(61.8% 0.207 259.1), rgb(42, 127, 255).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (62%)
Chromavivid (0.207)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.57:1
White text3.76:1

Values

HEX#2A7FFF
RGBrgb(42, 127, 255)
HSLhsl(216, 100%, 58%)
OKLCHoklch(61.8% 0.207 259.1)

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 #2A7FFF 3.76:1 AA large text Lc -70.1 Content text, not long reading
Black text on #2A7FFF 5.57:1 AA Lc 39.5 Non-text elements, placeholder text
#2A7FFF text on white 3.76:1 AA large text Lc 64.6 Content text, not long reading
#2A7FFF text on black 5.57:1 AA Lc -37.1 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

    #DEEBFE

    oklch(93.6% 0.029 257.8)

  3. Step 200

    200

    #C3DBFF

    oklch(88.5% 0.056 258.4)

  4. Step 300

    300

    #9BC2FF

    oklch(80.8% 0.097 259.2)

  5. Step 400

    400

    #63A0FF

    oklch(70.7% 0.154 259)

  6. Step 500

    500 (this color)

    #2A7FFF

    oklch(61.8% 0.207 259.1)

  7. Step 600

    600

    #0069EE

    oklch(55.5% 0.216 259.1)

  8. Step 700

    700

    #0058CA

    oklch(49.1% 0.191 259.1)

  9. Step 800

    800

    #0048A8

    oklch(42.8% 0.167 259.1)

  10. Step 900

    900

    #0A3D87

    oklch(37.7% 0.134 259.1)

  11. Step 950

    950

    #09244F

    oklch(26.9% 0.086 259.6)

Export this scale for Tailwind in the Tailwind colors tool

#2A7FFF 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)#298EFF0.038
Deuteranopia (no green cones)#007BFC0.019
Tritanopia (no blue cones)#009EB30.158
Achromatopsia (no color)#8484840.207

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A7FFF

    #2A7FFF

    oklch(61.8% 0.207 259.1)

  • #AE7B00

    #AE7B00

    oklch(61.8% 0.128 79.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A7FFF

    #2A7FFF

    oklch(61.8% 0.207 259.1)

  • #0092C0

    #0092C0

    oklch(61.8% 0.122 229.5)

  • #8767F7

    #8767F7

    oklch(61.9% 0.206 289.2)

Open the analogous palette in the generator

Split complementary

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

  • #2A7FFF

    #2A7FFF

    oklch(61.8% 0.207 259.1)

  • #D16000

    #D16000

    oklch(61.8% 0.165 49.3)

  • #8D8B00

    #8D8B00

    oklch(61.8% 0.134 108.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A7FFF

    #2A7FFF

    oklch(61.8% 0.207 259.1)

  • #E73B51

    #E73B51

    oklch(61.7% 0.207 19.1)

  • #389F00

    #389F00

    oklch(61.8% 0.195 139.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A7FFF

    #2A7FFF

    oklch(61.8% 0.207 259.1)

  • #D94099

    #D94099

    oklch(61.9% 0.207 349.1)

  • #AE7B00

    #AE7B00

    oklch(61.8% 0.128 79.5)

  • #009D79

    #009D79

    oklch(61.9% 0.124 169.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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