#2C7FE8

Closest named color: Clear Blue (#247AFD). oklch(60.3% 0.177 256.4), rgb(44, 127, 232).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.177)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.30:1
White text3.95:1

Values

HEX#2C7FE8
RGBrgb(44, 127, 232)
HSLhsl(214, 80%, 54%)
OKLCHoklch(60.3% 0.177 256.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 #2C7FE8 3.95:1 AA large text Lc -71.9 Content text, not long reading
Black text on #2C7FE8 5.30:1 AA Lc 37.7 Non-text elements, placeholder text
#2C7FE8 text on white 3.95:1 AA large text Lc 66.4 Content text, not long reading
#2C7FE8 text on black 5.30: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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #DFEBFB

    oklch(93.6% 0.025 255.6)

  3. Step 200

    200

    #C5DBF9

    oklch(88.5% 0.048 256.2)

  4. Step 300

    300

    #9CC3F9

    oklch(80.9% 0.088 256.6)

  5. Step 400

    400

    #64A2F6

    oklch(70.7% 0.14 256.4)

  6. Step 500

    500 (this color)

    #2C7FE8

    oklch(60.3% 0.177 256.4)

  7. Step 600

    600

    #006FE0

    oklch(55.6% 0.192 256.3)

  8. Step 700

    700

    #005DBE

    oklch(49.2% 0.17 256.3)

  9. Step 800

    800

    #004C9D

    oklch(42.8% 0.147 256.2)

  10. Step 900

    900

    #0F407D

    oklch(37.7% 0.115 256.5)

  11. Step 950

    950

    #0B2649

    oklch(27% 0.073 256.3)

Export this scale for Tailwind in the Tailwind colors tool

#2C7FE8 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)#4689EC0.035
Deuteranopia (no green cones)#1678E60.023
Tritanopia (no blue cones)#0098A80.135
Achromatopsia (no color)#8080800.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C7FE8

    #2C7FE8

    oklch(60.3% 0.177 256.4)

  • #AB7500

    #AB7500

    oklch(60.3% 0.126 76.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C7FE8

    #2C7FE8

    oklch(60.3% 0.177 256.4)

  • #008EB6

    #008EB6

    oklch(60.3% 0.116 226.5)

  • #7C6BE4

    #7C6BE4

    oklch(60.4% 0.177 286.3)

Open the analogous palette in the generator

Split complementary

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

  • #2C7FE8

    #2C7FE8

    oklch(60.3% 0.177 256.4)

  • #CE5800

    #CE5800

    oklch(60.2% 0.168 46.4)

  • #8B8500

    #8B8500

    oklch(60.3% 0.129 106.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C7FE8

    #2C7FE8

    oklch(60.3% 0.177 256.4)

  • #D6485B

    #D6485B

    oklch(60.4% 0.177 16.5)

  • #48970A

    #48970A

    oklch(60.2% 0.177 136.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C7FE8

    #2C7FE8

    oklch(60.3% 0.177 256.4)

  • #C84B96

    #C84B96

    oklch(60.3% 0.178 346.7)

  • #AB7500

    #AB7500

    oklch(60.3% 0.126 76.6)

  • #009870

    #009870

    oklch(60.3% 0.125 166.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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