#2C7AFB

Closest named color: Clear Blue (#247AFD). oklch(60.6% 0.207 260.2), rgb(44, 122, 251).

Aa

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

About this color

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

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

Values

HEX#2C7AFB
RGBrgb(44, 122, 251)
HSLhsl(217, 96%, 58%)
OKLCHoklch(60.6% 0.207 260.2)

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 #2C7AFB 3.97:1 AA large text Lc -72.0 Content text, not long reading
Black text on #2C7AFB 5.28:1 AA Lc 37.6 Non-text elements, placeholder text
#2C7AFB text on white 3.97:1 AA large text Lc 66.5 Content text, not long reading
#2C7AFB text on black 5.28:1 AA Lc -35.2 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

    #DFEBFE

    oklch(93.7% 0.029 259.6)

  3. Step 200

    200

    #C4DAFF

    oklch(88.4% 0.057 260.8)

  4. Step 300

    300

    #9DC2FF

    oklch(81% 0.096 260.2)

  5. Step 400

    400

    #669FFF

    oklch(70.7% 0.154 260.3)

  6. Step 500

    500 (this color)

    #2C7AFB

    oklch(60.6% 0.207 260.2)

  7. Step 600

    600

    #0567F4

    oklch(55.6% 0.226 260.2)

  8. Step 700

    700

    #0056D0

    oklch(49.2% 0.201 260.1)

  9. Step 800

    800

    #0246AB

    oklch(42.7% 0.173 260.1)

  10. Step 900

    900

    #0E3C88

    oklch(37.6% 0.136 260.3)

  11. Step 950

    950

    #0A244F

    oklch(26.9% 0.085 260)

Export this scale for Tailwind in the Tailwind colors tool

#2C7AFB 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)#1B89FF0.037
Deuteranopia (no green cones)#0077F80.019
Tritanopia (no blue cones)#009AAF0.160
Achromatopsia (no color)#8080800.207

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C7AFB

    #2C7AFB

    oklch(60.6% 0.207 260.2)

  • #A97800

    #A97800

    oklch(60.6% 0.126 80)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C7AFB

    #2C7AFB

    oklch(60.6% 0.207 260.2)

  • #008EBC

    #008EBC

    oklch(60.6% 0.121 230.1)

  • #8562F2

    #8562F2

    oklch(60.6% 0.206 290)

Open the analogous palette in the generator

Split complementary

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

  • #2C7AFB

    #2C7AFB

    oklch(60.6% 0.207 260.2)

  • #CA5F00

    #CA5F00

    oklch(60.6% 0.159 50.4)

  • #878800

    #878800

    oklch(60.6% 0.133 110.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C7AFB

    #2C7AFB

    oklch(60.6% 0.207 260.2)

  • #E3364A

    #E3364A

    oklch(60.5% 0.208 20.2)

  • #2D9C00

    #2D9C00

    oklch(60.6% 0.196 140.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C7AFB

    #2C7AFB

    oklch(60.6% 0.207 260.2)

  • #D53A93

    #D53A93

    oklch(60.5% 0.207 349.9)

  • #A97800

    #A97800

    oklch(60.6% 0.126 80)

  • #009877

    #009877

    oklch(60.5% 0.119 170.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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