#2C7CEC

Closest named color: Clear Blue (#247AFD). oklch(59.9% 0.186 258), rgb(44, 124, 236).

Aa

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

About this color

#2C7CEC is a medium-dark, vivid blue. In OKLCH its lightness is 60%, 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.027 away. Black text reads best on it, at 5.20:1.

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

Values

HEX#2C7CEC
RGBrgb(44, 124, 236)
HSLhsl(215, 83%, 55%)
OKLCHoklch(59.9% 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 #2C7CEC 4.03:1 AA large text Lc -72.6 Content text, not long reading
Black text on #2C7CEC 5.20:1 AA Lc 37.0 Non-text elements, placeholder text
#2C7CEC text on white 4.03:1 AA large text Lc 67.1 Content text, not long reading
#2C7CEC text on black 5.20:1 AA Lc -34.6 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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  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

    #9CC3FB

    oklch(80.9% 0.09 257.4)

  5. Step 400

    400

    #65A1FA

    oklch(70.7% 0.145 258.1)

  6. Step 500

    500 (this color)

    #2C7CEC

    oklch(59.9% 0.186 258)

  7. Step 600

    600

    #066CE6

    oklch(55.5% 0.202 258)

  8. Step 700

    700

    #005AC5

    oklch(49.1% 0.183 258.1)

  9. Step 800

    800

    #024AA2

    oklch(42.7% 0.156 257.9)

  10. Step 900

    900

    #103F80

    oklch(37.7% 0.121 258)

  11. Step 950

    950

    #0B254B

    oklch(26.9% 0.077 258.3)

Export this scale for Tailwind in the Tailwind colors tool

#2C7CEC 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)#3B88F00.035
Deuteranopia (no green cones)#0076EA0.024
Tritanopia (no blue cones)#0097A90.141
Achromatopsia (no color)#7E7E7E0.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C7CEC

    #2C7CEC

    oklch(59.9% 0.186 258)

  • #A87500

    #A87500

    oklch(59.9% 0.125 78.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C7CEC

    #2C7CEC

    oklch(59.9% 0.186 258)

  • #008DB6

    #008DB6

    oklch(60% 0.116 227.3)

  • #7E66E6

    #7E66E6

    oklch(59.8% 0.186 288.1)

Open the analogous palette in the generator

Split complementary

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

  • #2C7CEC

    #2C7CEC

    oklch(59.9% 0.186 258)

  • #CA5A00

    #CA5A00

    oklch(59.9% 0.163 48.1)

  • #888500

    #888500

    oklch(60% 0.129 108.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C7CEC

    #2C7CEC

    oklch(59.9% 0.186 258)

  • #D84254

    #D84254

    oklch(59.9% 0.186 18.1)

  • #3D9800

    #3D9800

    oklch(60% 0.186 138)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C7CEC

    #2C7CEC

    oklch(59.9% 0.186 258)

  • #CA4593

    #CA4593

    oklch(59.9% 0.186 348)

  • #A87500

    #A87500

    oklch(59.9% 0.125 78.3)

  • #009772

    #009772

    oklch(60.1% 0.122 167.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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